summaryrefslogtreecommitdiffstats
path: root/rspamd.service
diff options
context:
space:
mode:
Diffstat (limited to 'rspamd.service')
-rw-r--r--rspamd.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/rspamd.service b/rspamd.service
new file mode 100644
index 0000000..1d11808
--- /dev/null
+++ b/rspamd.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=rapid spam filtering system
+After=nss-lookup.target network-online.target
+Documentation=https://rspamd.com/doc/
+
+[Service]
+LimitNOFILE=1048576
+NonBlocking=true
+ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
+ExecReload=/bin/kill -HUP $MAINPID
+User=_rspamd
+RuntimeDirectory=rspamd
+RuntimeDirectoryMode=0755
+Restart=always
+
+[Install]
+WantedBy=multi-user.target