imap-archiver/systemd/imaparchiver.service

16 lines
372 B
SYSTEMD

[Unit]
Description=IMAP archiver service
Wants=network-online.target
After=network-online.target
[Service]
User=emailsync
Group=emailsync
ExecStart=/srv/email/imap-archiver/venv/bin/python3 /srv/email/imap-archiver/run.py --config /srv/email/imap-archiver/config.yml
SyslogIdentifier=imap-archiver
Restart=on-failure
WatchdogSec=600
[Install]
WantedBy=multi-user.target