diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-25 02:13:58 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-25 02:52:12 +0200 |
commit | 51d7f21cb1cd1b2a475ae0106d93b64d667ee20e (patch) | |
tree | ae89197fe85452064df46c340a57e413b44dd6df /community/rspamd/default-configs.patch | |
parent | bfd042a2dfb36acd7c82d37d06e3aaa2759a8225 (diff) | |
download | aports-51d7f21cb1cd1b2a475ae0106d93b64d667ee20e.tar.bz2 aports-51d7f21cb1cd1b2a475ae0106d93b64d667ee20e.tar.xz |
community/rspamd: rewrite init script, start as unprivileged user
It's init/rc system's job to daemonize process and drop privileges!
Diffstat (limited to 'community/rspamd/default-configs.patch')
-rw-r--r-- | community/rspamd/default-configs.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/community/rspamd/default-configs.patch b/community/rspamd/default-configs.patch index 776444f9cb..fd428c78ca 100644 --- a/community/rspamd/default-configs.patch +++ b/community/rspamd/default-configs.patch @@ -20,3 +20,13 @@ Distro-specific adjustments of the default configs. history_rows = 200; explicit_modules = ["settings", "bayes_expiry"]; +--- a/conf/rspamd.conf ++++ b/conf/rspamd.conf +@@ -18,7 +18,6 @@ + .include "$CONFDIR/common.conf" + + options { +- pidfile = "$RUNDIR/rspamd.pid"; + .include "$CONFDIR/options.inc" + .include(try=true; priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/options.inc" + .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/options.inc" |