Blame SOURCES/mailman.service

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