added timer and service

This commit is contained in:
Carlos Galindo 2019-10-07 13:06:39 +02:00
parent 70204c7bf1
commit 07f4f4e5fb
Signed by: kauron
GPG key ID: 83E68706DEE119A3
2 changed files with 15 additions and 0 deletions

6
systemd/backbit.service Normal file
View file

@ -0,0 +1,6 @@
[Unit]
Description=Backup databases and folders
[Service]
Type=oneshot
ExecStart=/usr/bin/backbit

9
systemd/backbit.timer Normal file
View file

@ -0,0 +1,9 @@
[Unit]
Description=BackBit daily
[Timer]
OnCalendar=03:00:00
Persistent=true
[Install]
WantedBy=timers.target