Blame SOURCES/mailman.service

a3d59b
[Unit]
a3d59b
Description=GNU Mailing List Manager
a3d59b
After=syslog.target network.target
a3d59b
a3d59b
[Service]
a3d59b
ExecStartPre=/usr/lib/mailman/bin/mailman-update-cfg
a3d59b
ExecStartPre=/usr/bin/install -m644 -o root -g root /usr/lib/mailman/cron/crontab.in /etc/cron.d/mailman
a3d59b
ExecStartPre=/bin/touch /var/log/mailman/error
a3d59b
ExecStartPre=/bin/chown mailman:mailman /var/log/mailman/error
a3d59b
ExecStartPre=/bin/chmod 660 /var/log/mailman/error
a3d59b
ExecStart=/usr/lib/mailman/bin/mailmanctl -s start
a3d59b
ExecReload=/usr/lib/mailman/bin/mailmanctl restart
a3d59b
ExecStop=/usr/lib/mailman/bin/mailman-update-cfg
a3d59b
ExecStop=/usr/lib/mailman/bin/mailmanctl stop
a3d59b
ExecStop=/bin/sh -c 'echo -e "# DO NOT EDIT THIS FILE!\n#\n# Contents of this file managed by /etc/init.d/mailman\n# Master copy is /usr/lib/mailman/cron/crontab.in" > /etc/cron.d/mailman'
a3d59b
Type=forking
a3d59b
a3d59b
[Install]
a3d59b
WantedBy=multi-user.target
a3d59b