summaryrefslogtreecommitdiff
path: root/rc.rspamd/rspamd-srv/run
blob: 0cd4eeb43ad978787bce907fbafdd98cbda0bca2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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