offlineimap-oneshot.service 278 B

123456789101112
  1. [Unit]
  2. Description=Offlineimap Service (oneshot)
  3. Documentation=man:offlineimap(1)
  4. [Service]
  5. Type=oneshot
  6. ExecStart=/usr/bin/offlineimap -o -u basic
  7. # Give 120 seconds for offlineimap to gracefully stop before hard killing it:
  8. TimeoutStopSec=120
  9. [Install]
  10. WantedBy=mail.target