custom-pkgbuilds/serialmail-git/serialmail.service
2025-02-06 12:17:19 -03:00

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