Added /run/rspamd
This commit is contained in:
parent
3d11c9ccc2
commit
0d0ee23e79
3
init
3
init
@ -31,7 +31,8 @@ if [ -z "$@" ]; then
|
||||
# Set password
|
||||
[ -n "${RSPAMD_PASSWD}" ] && sed -i -e 's/^#\s*password/ password/' -e "s/@PASSWORD@/${RSPAMD_PASSWD}/" /etc/rspamd/rspamd.conf.local.override
|
||||
|
||||
[ -x /usr/bin/rspamd ] && exec /usr/bin/rspamd -u rspamd -g rspamd -c /etc/rspamd/rspamd.conf -f -p /var/run/rspamd.pid &
|
||||
mkdir -p /run/rspamd
|
||||
[ -x /usr/bin/rspamd ] && exec /usr/bin/rspamd -u rspamd -g rspamd -c /etc/rspamd/rspamd.conf -f -p /run/rspamd/rspamd.pid &
|
||||
|
||||
wait
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user