17 lines
359 B
SYSTEMD
17 lines
359 B
SYSTEMD
|
[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
|