[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=always [Install] WantedBy=multi-user.target