Remove invalid systemd setting

oneshot units CANNOT have a `Restart=` setting, and including one
invalidates the service file.

Signed-off-by: Hugo Osvaldo Barrera <hugo@barrera.io>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Hugo Osvaldo Barrera 2017-06-01 13:11:40 -03:00 committed by Nicolas Sebrecht
parent a242a07582
commit 87d92badfc
2 changed files with 0 additions and 5 deletions

View File

@ -7,8 +7,6 @@ Type=oneshot
ExecStart=/usr/bin/offlineimap -o -u basic
# Give 120 seconds for offlineimap to gracefully stop before hard killing it:
TimeoutStopSec=120
Restart=on-failure
RestartSec=60
[Install]
WantedBy=mail.target

View File

@ -7,9 +7,6 @@ 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
Restart=on-failure
RestartSec=60
[Install]
WantedBy=mail.target