systemd: update “mbsync” units
This commit is contained in:
parent
bf8a1ca867
commit
92b6c017d1
2 changed files with 3 additions and 4 deletions
|
@ -4,7 +4,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/mbsync --all
|
||||
ExecStart=/usr/bin/mbsync %i
|
||||
ExecStartPost=/home/oliver/Dokumente/Coding/scripts/mail-notify.py -v
|
||||
TimeoutStartSec=1min30s
|
||||
StandardOutput=syslog
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
[Unit]
|
||||
Description=mbsync sync timer
|
||||
Conflicts=mbsync9to5.timer
|
||||
Description=mbsync sync timer (suru)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:0/5
|
||||
Unit=mbsync.service
|
||||
Unit=mbsync@suru.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
Loading…
Reference in a new issue