1
0
Fork 0

systemd: update “mbsync” units

This commit is contained in:
coderkun 2024-09-01 15:46:54 +02:00
parent bf8a1ca867
commit 92b6c017d1
2 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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