aboutsummaryrefslogtreecommitdiffstats
path: root/centos
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2015-10-14 20:44:10 +0200
committerAndrew Lewis <nerf@judo.za.org>2015-10-14 20:44:10 +0200
commit280dccc738ccf19fd9a4a39afab80b0a6433d387 (patch)
tree39730b0f5636755e3cecf7c8d699a13dd8c8702f /centos
parente80de1bc9df945dbaaf7d98703e271468364d19b (diff)
downloadrspamd-280dccc738ccf19fd9a4a39afab80b0a6433d387.tar.gz
rspamd-280dccc738ccf19fd9a4a39afab80b0a6433d387.zip
Update CentOS7 service file patch
Diffstat (limited to 'centos')
-rw-r--r--centos/sources/rspamd.service.patch9
1 files changed, 6 insertions, 3 deletions
diff --git a/centos/sources/rspamd.service.patch b/centos/sources/rspamd.service.patch
index c3c05fbbb..31db888e6 100644
--- a/centos/sources/rspamd.service.patch
+++ b/centos/sources/rspamd.service.patch
@@ -1,9 +1,12 @@
---- rspamd.service.orig 2015-03-12 07:59:13.779172699 +0200
-+++ rspamd.service 2015-03-12 08:00:20.443173489 +0200
-@@ -3,5 +3,4 @@
+--- rspamd.service.orig 2015-10-14 19:31:57.147935738 +0200
++++ rspamd.service 2015-10-14 20:36:07.848964984 +0200
+@@ -3,8 +3,7 @@
After=nss-lookup.target
[Service]
-ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
-User=_rspamd
+ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f -u _rspamd -g _rspamd
+
+ [Install]
+ WantedBy=multi-user.target