smeserver-altqmail/root/usr/lib/systemd/system/altqmail-smtpd.service

17 lines
389 B
SYSTEMD
Raw Normal View History

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