diff options
Diffstat (limited to 'rspamd.service')
-rw-r--r-- | rspamd.service | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/rspamd.service b/rspamd.service index ff9655b93..1cbc4f232 100644 --- a/rspamd.service +++ b/rspamd.service @@ -1,14 +1,7 @@ [Unit] Description=rapid spam filtering system +After=nss-lookup.target [Service] -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 +ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f User=_rspamd |