docker-offlineimap/contrib/systemd/offlineimap.service
Hugo Osvaldo Barrera e7a3fd55ac Use a pre-existing target for systemd services
Providing mail.target is really confusing and poor UX:

* When a user enables a unit, it's not truly enabled until they ALSO
  enable mail.target. This is very counter-intuitive.
* `mail.target` provides no extra value in itself, nor is it anything
  "standard".
* Any user wanting this specific target can still continue using it just
  dropping in a `mail.target` file.

Signed-off-by: Hugo Osvaldo Barrera <hugo@barrera.io>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2017-06-01 18:40:42 +02:00

12 lines
191 B
Desktop File

[Unit]
Description=Offlineimap Service
Documentation=man:offlineimap(1)
[Service]
ExecStart=/usr/bin/offlineimap -u basic
Restart=on-failure
RestartSec=60
[Install]
WantedBy=default.target