imap-archiver/systemd/imaparchiver.service

15 lines
356 B
SYSTEMD
Raw Normal View History

2024-03-05 23:57:38 -07:00
[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
[Install]
WantedBy=multi-user.target