From b1c81de4fadbd00897700a7321f03b390d952b2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Aug 2021 00:09:36 +0100 Subject: gentoo resync : 26.08.2021 --- .../znc/files/znc-1.8.2-fix-systemd-datadir.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 net-irc/znc/files/znc-1.8.2-fix-systemd-datadir.patch (limited to 'net-irc/znc/files/znc-1.8.2-fix-systemd-datadir.patch') diff --git a/net-irc/znc/files/znc-1.8.2-fix-systemd-datadir.patch b/net-irc/znc/files/znc-1.8.2-fix-systemd-datadir.patch new file mode 100644 index 000000000000..06dd6991b4a4 --- /dev/null +++ b/net-irc/znc/files/znc-1.8.2-fix-systemd-datadir.patch @@ -0,0 +1,23 @@ +From d4bfd143b4b12f6e6695878cc1b5168cc31c362c Mon Sep 17 00:00:00 2001 +From: Alexey Sokolov +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] -- cgit v1.2.3