15 lines
356 B
SYSTEMD
15 lines
356 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
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|