emailrelay/debian/emailrelay.service
Graeme Walker 6a32f90311 v2.4
2022-11-01 12:00:00 +00:00

18 lines
422 B
Desktop File

[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=/usr/sbin/emailrelay --as-server --syslog --pid-file /run/emailrelay/emailrelay.pid /etc/emailrelay.conf
ExecStop=/bin/kill -15 $MAINPID
PIDFile=/run/emailrelay/emailrelay.pid
[Install]
WantedBy=multi-user.target