mirror of
https://github.com/alrayyes/server-dotfiles
synced 2023-11-14 15:56:25 +00:00
added borg service
This commit is contained in:
parent
221170d0dc
commit
92fade53f0
8
borg/.config/systemd/user/borg.service
Normal file
8
borg/.config/systemd/user/borg.service
Normal file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Borg Backup
|
||||
|
||||
[Service]
|
||||
ExecStart=/home/alrayyes/bin/backup.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
9
borg/.config/systemd/user/borg.timer
Normal file
9
borg/.config/systemd/user/borg.timer
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Run borg daily
|
||||
|
||||
[Timer]
|
||||
OnBootSec=300m
|
||||
OnUnitActiveSec=1d
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue
Block a user