From e72b3a36119ef531f3326864c7c89e4301920c09 Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Thu, 13 May 2021 17:49:40 +0100 Subject: First working version of spamprox --- spamprox@.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 spamprox@.service (limited to 'spamprox@.service') 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 -- cgit v1.2.1