contrib/systemd/[email protected]
raw| 1 | [Unit] |
| 2 | Description=Offlineimap Service for account %i (oneshot) |
| 3 | Documentation=man:offlineimap(1) |
| 4 | |
| 5 | [Service] |
| 6 | Type=oneshot |
| 7 | ExecStart=/usr/bin/offlineimap -o -a %i -u basic |
| 8 | # Give 120 seconds for offlineimap to gracefully stop before hard killing it. |
| 9 | TimeoutStopSec=120 |
| 10 | |
| 11 | [Install] |
| 12 | WantedBy=default.target |