fixed update timer

This commit is contained in:
Aiden committed 2026-11-09 23:48:09 -05:00
1 parent 819e6cb926
commit 4f78ebaa6d
1 file changed
+7
+7
View File
@@ -79,6 +79,8 @@ WantedBy=default.target
`nano ~/.config/containers/systemd/postgresql.container` `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 ```ini
[Unit] [Unit]
Description=Postgres Database for Nextcloud Description=Postgres Database for Nextcloud
@@ -217,6 +219,10 @@ Make the script executable
Create Service to run the script 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` `nano ~/.config/systemd/user/backup-nextcloud.service`
```ini ```ini
@@ -226,6 +232,7 @@ Description=Run backup script for nextcloud
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart="/home/<user>/backup-nextcloud.sh" ExecStart="/home/<user>/backup-nextcloud.sh"
Environment=BORG_PASSPHRASE=<backup password>
[Install] [Install]
WantedBy=default.target WantedBy=default.target