From 569e598d38adb1918d127ee31af1cd332b072dcf Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 23:29:24 +0200 Subject: Initial commit. --- rspamd/rspamd-systemd.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 rspamd/rspamd-systemd.patch (limited to 'rspamd/rspamd-systemd.patch') diff --git a/rspamd/rspamd-systemd.patch b/rspamd/rspamd-systemd.patch new file mode 100644 index 0000000..a779603 --- /dev/null +++ b/rspamd/rspamd-systemd.patch @@ -0,0 +1,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 -- cgit v1.2.3-70-g09d2