aboutsummaryrefslogtreecommitdiffstats
path: root/rspamd.socket
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2014-03-28 15:51:16 +0100
committerMikhail Gusarov <dottedmag@dottedmag.net>2014-03-29 10:36:57 +0100
commit18c0d55ea780036564e1ae642c9af1d02995cb08 (patch)
tree974361fdfeab780de484565f2ec0942ca7c87cb3 /rspamd.socket
parent16372c22a3c79e851e64be14f792d6867f2e2054 (diff)
downloadrspamd-18c0d55ea780036564e1ae642c9af1d02995cb08.tar.gz
rspamd-18c0d55ea780036564e1ae642c9af1d02995cb08.zip
Add systemd unit
Diffstat (limited to 'rspamd.socket')
-rw-r--r--rspamd.socket11
1 files changed, 11 insertions, 0 deletions
diff --git a/rspamd.socket b/rspamd.socket
new file mode 100644
index 000000000..e326dddcc
--- /dev/null
+++ b/rspamd.socket
@@ -0,0 +1,11 @@
+[Unit]
+Description=rapid spam filtering system
+
+[Socket]
+ListenStream=11333
+ListenStream=127.0.0.1:11334
+ListenStream=127.0.0.1:11336
+FreeBind=true
+
+[Install]
+WantedBy=sockets.target