summaryrefslogtreecommitdiff
path: root/pcr-testing/mailman-core/mailman.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr-testing/mailman-core/mailman.service')
-rw-r--r--pcr-testing/mailman-core/mailman.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/pcr-testing/mailman-core/mailman.service b/pcr-testing/mailman-core/mailman.service
new file mode 100644
index 000000000..5c852a22e
--- /dev/null
+++ b/pcr-testing/mailman-core/mailman.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=GNU Mailing List Manager
+After=network.target
+
+[Service]
+User=mailman
+ExecStart=/usr/bin/mailman start -f
+ExecReload=/usr/bin/mailman restart
+ExecStop=/usr/bin/mailman stop
+StandardError=syslog
+Type=forking
+WorkingDirectory=/var/lib/mailman
+PIDFile=/var/lib/mailman/var/master.pid
+
+[Install]
+WantedBy=multi-user.target