Add systemd units
This commit is contained in:
parent
54921977ad
commit
4e19db5f3a
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Create incremental btrfs backups and push them to a backup host
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=backups
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/var/backups/backup.fish
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
|
@ -0,0 +1,8 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Run btrfish.serivce daily
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=daily
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
Loading…
Reference in New Issue