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

17 lines
365 B
SYSTEMD
Raw Normal View History

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