lots of stuff
This commit is contained in:
8
.config/systemd/user/backup.service
Normal file
8
.config/systemd/user/backup.service
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Backup to external drive
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/opal/.local/bin/backup.sh
|
||||
StandardOutput=append:/home/opal/.local/state/backup/backup.log
|
||||
StandardError=append:/home/opal/.local/state/backup/backup.log
|
||||
10
.config/systemd/user/backup.timer
Normal file
10
.config/systemd/user/backup.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Daily backup to external drive
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
Persistent=true
|
||||
AccuracySec=5min
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user