imap-archiver/systemd/imapviewer.service

16 lines
351 B
SYSTEMD
Raw Normal View History

2024-03-05 23:57:38 -07:00
[Unit]
Description=IMAP archiver viewer
2024-03-05 23:57:38 -07:00
Wants=network-online.target
After=network-online.target
[Service]
User=emailsync
Group=emailsync
EnvironmentFile=/etc/secrets/imapviewer
ExecStart=/srv/email/imap-archiver/venv/bin/python3 /srv/email/imap-archiver/server.py
SyslogIdentifier=imap-viewer
2024-03-05 23:57:38 -07:00
Restart=on-failure
[Install]
WantedBy=multi-user.target