emailrelay/etc/emailrelay.service.in
Graeme Walker 27c01949fa v2.2.1
2022-04-03 12:00:00 +00:00

19 lines
373 B
SYSTEMD

[Unit]
Description=E-MailRelay mail server
Documentation=man:emailrelay(1)
After=network-online.target
Wants=network-online.target
[Service]
Type=forking
Restart=on-success
KillMode=control-group
ExecStart=__INIT_DIR__/emailrelay start
ExecStop=__INIT_DIR__/emailrelay stop
PIDFile=__RUN_DIR__/emailrelay.pid
SuccessExitStatus=0 143
[Install]
WantedBy=multi-user.target