diff options
Diffstat (limited to 'rc.rspamd/rspamd-srv/run')
| -rw-r--r-- | rc.rspamd/rspamd-srv/run | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/rc.rspamd/rspamd-srv/run b/rc.rspamd/rspamd-srv/run new file mode 100644 index 0000000..0cd4eeb --- /dev/null +++ b/rc.rspamd/rspamd-srv/run @@ -0,0 +1,14 @@ +#!/bin/execlineb -P + +############################################ +# Start the spam filtering system (rspamd) # +############################################ + +fdmove -c 2 1 +s6-envdir env +multisubstitute { + importas -u CMD CMD + importas -usCd" " CMD_OPTS CMD_OPTS +} +s6-notifyoncheck -dn0 +exec -c $CMD $CMD_OPTS |
