summaryrefslogtreecommitdiff
path: root/net-irc/ngircd/files/ngircd-26.1-systemd-unit.patch
blob: f15025cc485674d31e1334ef15aa2e4b3c599030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/contrib/ngircd.service b/contrib/ngircd.service
index e4c30e2..ba1b513 100644
--- a/contrib/ngircd.service
+++ b/contrib/ngircd.service
@@ -12,8 +12,8 @@ Before=bopm.service
 
 [Service]
 Type=forking
-User=irc
-Group=irc
+User=ngircd
+Group=ngircd
 # Settings & limits:
 CapabilityBoundingSet=CAP_SYS_CHROOT CAP_NET_BIND_SERVICE
 MemoryDenyWriteExecute=yes
@@ -27,7 +27,7 @@ ProtectKernelTunables=yes
 ProtectSystem=full
 RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
 RestrictRealtime=yes
-RuntimeDirectory=ircd
+RuntimeDirectory=ngircd
 RuntimeDirectoryMode=750
 # Try to load "default files" from any Debian package variant to keep this
 # unit generic.