updated readme.

This commit is contained in:
Adam Rabjerg
2021-03-22 20:28:40 +01:00
parent f21e9f70f5
commit 0745fc4eba

View File

@@ -77,8 +77,8 @@ Todo
### etc/systemd/system/make-backup.service ### etc/systemd/system/make-backup.service
Systemd service to make backup. Systemd service to make backup.
WorkingDirectory should be the absolute path to where make_backup.sh script is located. ```WorkingDirectory=``` should be the absolute path to where make_backup.sh script is located.
ExecStart *MUST* be the absolute path to make_backup.sh ```ExecStart=``` *MUST* be the absolute path to make_backup.sh
### etc/systemd/system/make-backup.timer ### etc/systemd/system/make-backup.timer
Systemd timer to trigger backup. Systemd timer to trigger backup.
@@ -88,6 +88,7 @@ See ```man systemd.time``` for more how to configure OnCalendar events.
### Systemd service+timer install ### Systemd service+timer install
Configure the trigger in the .timer, remember to change "Description" in both .service and .timer. Configure the trigger in the .timer, remember to change "Description" in both .service and .timer.
```systemd-analyze verify make-backup.*``` ```systemd-analyze verify make-backup.*```
Have systemd verify that the files are correct before continueing. Have systemd verify that the files are correct before continueing.
If there is any errors, FIX THOSE FIRST! If there is any errors, FIX THOSE FIRST!