Blame SOURCES/mailman.service

5c2a97
[Unit]
5c2a97
Description=GNU Mailing List Manager
5c2a97
After=syslog.target network.target
5c2a97
5c2a97
[Service]
5c2a97
ExecStartPre=/usr/lib/mailman/bin/mailman-update-cfg
5c2a97
ExecStartPre=/usr/bin/install -m644 -o root -g root /usr/lib/mailman/cron/crontab.in /etc/cron.d/mailman
5c2a97
ExecStartPre=/bin/touch /var/log/mailman/error
5c2a97
ExecStartPre=/bin/chown mailman:mailman /var/log/mailman/error
5c2a97
ExecStartPre=/bin/chmod 660 /var/log/mailman/error
5c2a97
ExecStart=/usr/lib/mailman/bin/mailmanctl -s start
5c2a97
ExecReload=/usr/lib/mailman/bin/mailmanctl restart
5c2a97
ExecStop=/usr/lib/mailman/bin/mailman-update-cfg
5c2a97
ExecStop=/usr/lib/mailman/bin/mailmanctl stop
5c2a97
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'
5c2a97
Type=forking
5c2a97
5c2a97
[Install]
5c2a97
WantedBy=multi-user.target
5c2a97