diff --git a/README.md b/README.md index 617d287..4ab43fc 100644 --- a/README.md +++ b/README.md @@ -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//backup-nextcloud.sh" +Environment=BORG_PASSPHRASE= [Install] WantedBy=default.target