smeserver-qmail/root/usr/lib/systemd/system/qmail.service

16 lines
343 B
Desktop File

[Unit]
Description=qmail, message transfer agent
After=network.target
Requires=runit.service
[Service]
Type=oneshot
ExecStartPre=/sbin/e-smith/service-status qmail
ExecStart=/usr/bin/sv u /service/qmail
ExecStop=/usr/bin/sv stop /service/qmail
ExecReload=/usr/bin/sv t /service/qmail
RemainAfterExit=yes
[Install]
WantedBy=sme-server.target