fixed update timer
This commit is contained in:
1 file changed
+7
@@ -79,6 +79,8 @@ WantedBy=default.target
|
||||
|
||||
`nano ~/.config/containers/systemd/postgresql.container`
|
||||
|
||||
Note: the database password can be stored more securly with an environement file, instead of just putting it in the config!
|
||||
|
||||
```ini
|
||||
[Unit]
|
||||
Description=Postgres Database for Nextcloud
|
||||
@@ -217,6 +219,10 @@ Make the script executable
|
||||
|
||||
Create Service to run the script
|
||||
|
||||
Replace with your backup password.
|
||||
|
||||
Note: this can be done more securly with an environement file, instead of just putting it in the config!
|
||||
|
||||
`nano ~/.config/systemd/user/backup-nextcloud.service`
|
||||
|
||||
```ini
|
||||
@@ -226,6 +232,7 @@ Description=Run backup script for nextcloud
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart="/home/<user>/backup-nextcloud.sh"
|
||||
Environment=BORG_PASSPHRASE=<backup password>
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
Reference in new issue
Block a user