summaryrefslogtreecommitdiff
path: root/rc.rspamd/rspamd-srv/run
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-06-22 10:57:27 +0200
committerEugen Wissner <belka@caraus.de>2025-06-22 10:57:27 +0200
commita32eb01f97e3ee98b5c049270f9eca97c407dd0b (patch)
treeaa2dc6b129c6516c230f23f99748f1d761bbbe9e /rc.rspamd/rspamd-srv/run
parentac8738f8e9065f1de78a1f655805bd96675012b7 (diff)
downloads6-a32eb01f97e3ee98b5c049270f9eca97c407dd0b.tar.gz
Add rspamd
Diffstat (limited to 'rc.rspamd/rspamd-srv/run')
-rw-r--r--rc.rspamd/rspamd-srv/run14
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