15 lines
330 B
Desktop File
15 lines
330 B
Desktop File
[Unit]
|
|
Description=SerialMail Server
|
|
After=network.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
DynamicUser=yes
|
|
User=serialmail
|
|
Group=serialmail
|
|
EnvironmentFile=/etc/serialmail.conf
|
|
ExecStart=/usr/bin/serialmail -addr $ADDR -login-key $LOGIN_KEY $IMAP_SERVER $SMTP_SERVER
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|