aboutsummaryrefslogtreecommitdiffstats
path: root/centos/sources/rspamd.service.patch
diff options
context:
space:
mode:
Diffstat (limited to 'centos/sources/rspamd.service.patch')
-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