Add 'backup.service'
This commit is contained in:
parent
4a039dc1d1
commit
34bffbf365
11
backup.service
Normal file
11
backup.service
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description="Backup service using rclone"
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
# location of the backup-script
|
||||||
|
# %h = home
|
||||||
|
ExecStart=%h/backup-script/backup.sh
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
Loading…
Reference in a new issue