A bunch of changes
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
[Unit]
|
||||
Description=Copy KeePassXC database file to Nextcloud for backup
|
||||
Wants=default.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/zander/scripts/backup-keepassxc-db.sh %i
|
||||
ExecStart=%h/scripts/backup-keepassxc-db.sh %i
|
||||
|
11
systemd/sync-mail.service
Normal file
11
systemd/sync-mail.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Sync mail with mbsync and notmuch
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=-mbsync -a ; notmuch new
|
||||
RuntimeMaxSec=3m
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
12
systemd/sync-mail.timer
Normal file
12
systemd/sync-mail.timer
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Sync mail every minute with mbsync and notmuch
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* *:*:00
|
||||
FixedRandomDelay=true
|
||||
AccuracySec=10s
|
||||
RandomizedDelaySec=45m
|
||||
Persistent=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
@ -1,6 +1,5 @@
|
||||
[Unit]
|
||||
Description=Sync calendar %i with vdirsyncer
|
||||
Wants=default.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
Reference in New Issue
Block a user