Hi folks, I'm learning how to use systemd on my Fedora box, since I still had MM as a script startup I thought I'd fix that. Below is a unit file, it starts and stops ok but the rm command doesn't work. Comments welcome.
[Unit] Description=Mailman, the GNU Mailing List Manager After=local-fs.target postfix.service [Service] Type=forking ExecStartPre=/bin/rm -f /home/mailman/locks/* ExecStart=/usr/bin/python /home/mailman/bin/mailmanctl -s -q start ExecReload=/usr/bin/python /home/mailman/bin/mailmanctl -q restart ExecStop=/usr/bin/python /home/mailman/bin/mailmanctl -q stop [Install] WantedBy=multi-user.target -- Bryan Blackwell -- Unix Systems Engineer br...@skiblack.com ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org