added timer and service
This commit is contained in:
parent
70204c7bf1
commit
07f4f4e5fb
2 changed files with 15 additions and 0 deletions
6
systemd/backbit.service
Normal file
6
systemd/backbit.service
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=Backup databases and folders
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/backbit
|
9
systemd/backbit.timer
Normal file
9
systemd/backbit.timer
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=BackBit daily
|
||||
|
||||
[Timer]
|
||||
OnCalendar=03:00:00
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in a new issue