]> git.rmz.io Git - dotfiles.git/commitdiff
systemd: 4min timeout for mbsync
authorSamir Benmendil <me@rmz.io>
Thu, 27 Dec 2018 16:06:30 +0000 (16:06 +0000)
committerSamir Benmendil <me@rmz.io>
Thu, 27 Dec 2018 16:06:30 +0000 (16:06 +0000)
If it ever gets stuck, asking for more input or something, kill it just
in time for the next timer to try again.

systemd/user/mbsync@.service

index 83941360db78804790951ca5919cdc1186c06ab2..89a199496f272714867133619171923676a7eedd 100644 (file)
@@ -4,4 +4,5 @@ After=network.target network-online.target dbus.socket
 
 [Service]
 Type=oneshot
+TimeoutStartSec=4min
 ExecStart=%h/.config/isync/sync-mail %i