summaryrefslogtreecommitdiff
path: root/net-irc/znc/files/znc-1.8.2-fix-systemd-datadir.patch
blob: 06dd6991b4a4829f709343f11a57e65e7865fd67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From d4bfd143b4b12f6e6695878cc1b5168cc31c362c Mon Sep 17 00:00:00 2001
From: Alexey Sokolov <alexey+znc@asokolov.org>
Date: Tue, 22 Sep 2020 10:20:47 +0100
Subject: [PATCH] Fix path in systemd service (which shouldn't be here at all)

https://bugs.gentoo.org/743856
---
 znc.service.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/znc.service.in b/znc.service.in
index a6c9e68df..7accad906 100644
--- a/znc.service.in
+++ b/znc.service.in
@@ -3,7 +3,7 @@ Description=ZNC, an advanced IRC bouncer
 After=network.target
 
 [Service]
-ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/znc -f
+ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/znc -f --datadir=/var/lib/znc
 User=znc
 
 [Install]