Skip to content

Instantly share code, notes, and snippets.

@jottinger
Created July 29, 2014 13:26
Show Gist options
  • Save jottinger/7658ce8f7a598addbd2a to your computer and use it in GitHub Desktop.
Save jottinger/7658ce8f7a598addbd2a to your computer and use it in GitHub Desktop.
mailman3.service
Unit]
Description=MailMan3 daemon
After=network.target
[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/sshd
ExecStart=/usr/bin/mailman -C /usr/lib/systemd/system/var/etc/mailman.cfg start
ExecStop=/usr/bin/mailman -C /usr/lib/systemd/system/var/etc/mailman.cfg stop
ExecReload=/usr/bin/mailman restart
KillMode=process
Restart=on-failure
RestartSec=42s
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment