blob: a7796030e2848172a95c35d1cbce280e6bddf918 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff -r -u -N rspamd-0.8.0/rspamd.service rspamd-0.8.0-systemd/rspamd.service
--- rspamd-0.8.0/rspamd.service 2014-04-21 13:31:50.000000000 +0200
+++ rspamd-0.8.0-systemd/rspamd.service 2015-01-15 05:03:57.519561226 +0100
@@ -5,10 +5,7 @@
Type=simple
# Replace Pre/Post with RuntimeDirectory once it is available
PermissionsStartOnly=true
-ExecStartPre=/bin/mkdir -m700 -p /run/rspamd
-ExecStartPre=/bin/chown _rspamd:_rspamd /run/rspamd
ExecStart=/usr/bin/rspamd -f -c /etc/rspamd/rspamd.conf
ExecReload=/bin/kill -HUP $MAINPID
-ExecStopPost=/bin/rm -r /run/rspamd
WorkingDirectory=/var/lib/rspamd
-User=_rspamd
+User=rspamd
|