From a6628ca9fdce2276e1f3482016beba26417c7ade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 8 Dec 2023 23:46:49 +0100 Subject: [PATCH] test --- conf/.env | 9 +++++++++ scripts/install | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/conf/.env b/conf/.env index 052d571..3f4397d 100644 --- a/conf/.env +++ b/conf/.env @@ -14,3 +14,12 @@ POSTGRES_DATABASE=__DB_NAME__ POSTGRES_USER=__DB_USER__ POSTGRES_PORT=5432 POSTGRES_HOST=localhost + +MAILER_ENABLED=1 +MAILER_HOST=localhost +MAILER_PORT=25 +MAILER_SECURE=0 +MAILER_AUTH_USER=__APP__ +MAILER_AUTH_PASSWORD=__MAIL_PWD__ +MAILER_NOREPLY_NAME=__APP__ +MAILER_NOREPLY_EMAIL=reply@__DOMAIN__ diff --git a/scripts/install b/scripts/install index adef410..2abf417 100755 --- a/scripts/install +++ b/scripts/install @@ -49,10 +49,10 @@ yunohost service add $app --description="Note-taking appliction" --log="/var/log #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template=".env" --destination="$install_dir/.env" +ynh_add_config --template=".env" --destination="$install_dir/packages/server/.env" -chmod 400 "$install_dir/.env" -chown $app:$app "$install_dir/.env" +chmod 400 "$install_dir/packages/server/.env" +chown $app:$app "$install_dir/packages/server/.env" #================================================= # INSTALL JOPLIN