18 lines
422 B
Desktop File
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
|
|
|