aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-18 18:03:54 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-18 18:03:54 +0000
commit46c1096e16379db6325922312c89daf3297fea1a (patch)
tree33dae3a6b1f9e9749c0de4d96f638c2a353b9fe0
parent08c6403231110e8b4e12029ed5c13ed095f58594 (diff)
parent6b99f3cafd49d94ed3e38dfb7c45f5c2c01cd1f2 (diff)
downloadrspamd-46c1096e16379db6325922312c89daf3297fea1a.tar.gz
rspamd-46c1096e16379db6325922312c89daf3297fea1a.zip
Merge pull request #484 from fatalbanana/master
Update CentOS7 service file patch again
-rw-r--r--centos/sources/rspamd.service.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/centos/sources/rspamd.service.patch b/centos/sources/rspamd.service.patch
index 31db888e6..884e130b0 100644
--- a/centos/sources/rspamd.service.patch
+++ b/centos/sources/rspamd.service.patch
@@ -1,5 +1,5 @@
---- rspamd.service.orig 2015-10-14 19:31:57.147935738 +0200
-+++ rspamd.service 2015-10-14 20:36:07.848964984 +0200
+--- rspamd.service.orig 2016-01-18 19:32:58.660425266 +0200
++++ rspamd.service 2016-01-18 19:33:33.288446835 +0200
@@ -3,8 +3,7 @@
After=nss-lookup.target
@@ -7,6 +7,6 @@
-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
+ RuntimeDirectory=rspamd
+ RuntimeDirectoryMode=0755
- [Install]
- WantedBy=multi-user.target