mirror of
https://github.com/YunoHost-Apps/spacedeck_ynh.git
synced 2024-09-03 20:26:14 +02:00
Several fixes
This commit is contained in:
parent
49d90d7cb4
commit
ff105d4429
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
"host": "localhost",
|
"host": "localhost",
|
||||||
"port": __PORT__,
|
"port": __PORT__,
|
||||||
"endpoint": "https://__DOMAIN__/__PATH__",
|
"endpoint": "https://__DOMAIN____PATH__",
|
||||||
"invite_code": "__INVITE_SECRET__",
|
"invite_code": "__INVITE_SECRET__",
|
||||||
|
|
||||||
"storage_dialect": "sqlite",
|
"storage_dialect": "sqlite",
|
||||||
|
|
|
@ -134,7 +134,7 @@ api_secret=$(ynh_string_random --length=32)
|
||||||
ynh_app_setting_set --app=$app --key=invite_secret --value=$invite_secret
|
ynh_app_setting_set --app=$app --key=invite_secret --value=$invite_secret
|
||||||
ynh_app_setting_set --app=$app --key=api_secret --value=$api_secret
|
ynh_app_setting_set --app=$app --key=api_secret --value=$api_secret
|
||||||
|
|
||||||
ynh_add_config --template="default.json" --destination="$final_path/config/default.json"
|
ynh_add_config --template="../conf/default.json" --destination="$final_path/config/default.json"
|
||||||
|
|
||||||
chmod 400 "$final_path/config/default.json"
|
chmod 400 "$final_path/config/default.json"
|
||||||
chown $app:$app "$final_path/config/default.json"
|
chown $app:$app "$final_path/config/default.json"
|
||||||
|
|
Loading…
Add table
Reference in a new issue