2017-03-28 08:19:24 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Offlineimap Service (oneshot)
|
2017-06-01 11:12:26 +02:00
|
|
|
Documentation=man:offlineimap(1)
|
2017-03-28 08:19:24 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2017-06-01 18:10:40 +02:00
|
|
|
ExecStart=/usr/bin/offlineimap -o -u basic
|
|
|
|
# Give 120 seconds for offlineimap to gracefully stop before hard killing it:
|
2017-06-01 15:29:12 +02:00
|
|
|
TimeoutStopSec=120
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=60
|
2017-03-28 08:19:24 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=mail.target
|