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

17 lines
359 B
SYSTEMD
Raw Normal View History

[Unit]
Description=qpsmtpd
After=network.target
Conflicts=proqpsmtpdd.service
Requires=runit.service
[Service]
Type=oneshot
ExecStartPre=/sbin/e-smith/service-status qpsmtpd
ExecStart=/usr/bin/sv u /service/qpsmtpd
ExecStop=/usr/bin/sv stop /service/qpsmtpd
ExecReload=/usr/bin/sv h /service/qpsmtpd
RemainAfterExit=yes
[Install]
WantedBy=sme-server.target