various
parent
b79c79e835
commit
11e45a59d1
|
@ -28,6 +28,7 @@
|
|||
!/etc/systemd/system/
|
||||
/etc/systemd/system/*
|
||||
!/etc/systemd/system/zio-backup.service
|
||||
!/etc/systemd/system/zio-backup.timer
|
||||
|
||||
# /usr/
|
||||
!/usr/
|
||||
|
|
|
@ -1,13 +1,7 @@
|
|||
[Unit]
|
||||
Description=Zio Backup
|
||||
After=network.target network-online.target
|
||||
Requires=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
User=root
|
||||
Group=root
|
||||
ExecStart=/usr/local/bin/zio-backup
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Zio Backup (daily)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
AccuracySec=1m
|
||||
RandomizedDelaySec=1h
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue