forked from CopterSicht/Restic-Backend-Watchdog
added systemd service files and cronjob example
This commit is contained in:
11
CheckAutoBackup.service
Normal file
11
CheckAutoBackup.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Check AutoBackup
|
||||
After=syslog.target network.target
|
||||
[Service]
|
||||
RestartSec=2s
|
||||
Type=oneshot
|
||||
User=root
|
||||
Group=root
|
||||
ExecStart=/root/check_AutoBackup.sh
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user