aboutsummaryrefslogtreecommitdiff
path: root/spamprox@.service
diff options
context:
space:
mode:
authorAdam Spragg <adam@spra.gg>2021-05-13 17:49:40 +0100
committerAdam Spragg <adam@spra.gg>2021-05-13 17:49:40 +0100
commite72b3a36119ef531f3326864c7c89e4301920c09 (patch)
tree65622f4a309a5444f7342a599d9a9e7739986d1b /spamprox@.service
First working version of spamprox
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