From: Andrew Lewis Date: Wed, 14 Oct 2015 18:44:10 +0000 (+0200) Subject: Update CentOS7 service file patch X-Git-Tag: 1.0.6~32^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F397%2Fhead;p=rspamd.git Update CentOS7 service file patch --- 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