From 280dccc738ccf19fd9a4a39afab80b0a6433d387 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Wed, 14 Oct 2015 20:44:10 +0200 Subject: [PATCH] Update CentOS7 service file patch --- centos/sources/rspamd.service.patch | 9 ++++++--- 1 file 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 -- 2.39.5