docker-offlineimap/contrib/systemd/offlineimap-oneshot@.service

13 lines
302 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Offlineimap Service for account %i (oneshot)
Documentation=man:offlineimap(1)
[Service]
Type=oneshot
ExecStart=/usr/bin/offlineimap -o -a %i -u basic
# Give 120 seconds for offlineimap to gracefully stop before hard killing it.
TimeoutStopSec=120
[Install]
WantedBy=default.target