mirror of
https://github.com/YunoHost-Apps/joplin_ynh.git
synced 2024-09-03 19:36:03 +02:00
test
This commit is contained in:
parent
0c1c909257
commit
a6628ca9fd
2 changed files with 12 additions and 3 deletions
|
@ -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__
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue