aboutsummaryrefslogtreecommitdiff
path: root/spamprox@.service
diff options
context:
space:
mode:
Diffstat (limited to 'spamprox@.service')
-rw-r--r--spamprox@.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/spamprox@.service b/spamprox@.service
new file mode 100644
index 0000000..d9a47cf
--- /dev/null
+++ b/spamprox@.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Spam Proxy service
+After=network.target spamprox.socket
+Requires=spamprox.socket
+
+[Service]
+Type=simple
+User=mail
+Group=mail
+StandardInput=socket
+StandardOutput=socket
+StandardError=journal
+ExecStart=/usr/local/sbin/spamprox
+TimeoutStopSec=30
+
+[Install]
+WantedBy=default.target