summarylogtreecommitdiffstats
path: root/mailman.service
diff options
context:
space:
mode:
Diffstat (limited to 'mailman.service')
-rw-r--r--mailman.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/mailman.service b/mailman.service
new file mode 100644
index 000000000000..eeee5371c85c
--- /dev/null
+++ b/mailman.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=GNU Mailing List Manager
+After=network.target
+
+[Service]
+ExecStart=/usr/lib/mailman/bin/mailmanctl -s start
+ExecReload=/usr/lib/mailman/bin/mailmanctl restart
+ExecStop=/usr/lib/mailman/bin/mailmanctl stop
+Type=forking
+ProtectSystem=full
+ProtectHostname=true
+MemoryDenyWriteExecute=yes
+PrivateDevices=yes
+
+[Install]
+WantedBy=multi-user.target