imap-archiver/systemd/imapviewer.service

16 lines
351 B
SYSTEMD

[Unit]
Description=IMAP archiver viewer
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
Restart=on-failure
[Install]
WantedBy=multi-user.target