diff --git a/README.md b/README.md index cfd0153..c1dcc3a 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Web interface for voice chat software (VoIP) ## Screenshots -![](./doc/screenshots/connected.png) +![](./doc/screenshots/screenshot.png) ## Disclaimers / important information diff --git a/README_fr.md b/README_fr.md index baeed75..aa6bb5d 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Interface web interface pour voix sur IP (VoIP) ## Captures d'écran -![](./doc/screenshots/connected.png) +![](./doc/screenshots/screenshot.png) ## Avertissements / informations importantes diff --git a/doc/screenshots/connected.png b/doc/screenshots/connected.png deleted file mode 100644 index dcc9c78..0000000 Binary files a/doc/screenshots/connected.png and /dev/null differ diff --git a/doc/screenshots/screenshot.png b/doc/screenshots/screenshot.png new file mode 100644 index 0000000..338f1a1 Binary files /dev/null and b/doc/screenshots/screenshot.png differ diff --git a/manifest.json b/manifest.json index ba36430..cf69775 100644 --- a/manifest.json +++ b/manifest.json @@ -31,7 +31,7 @@ { "name": "domain", "type": "domain", - "example": "domain.org" + "example": "example.com" }, { "name": "is_public", diff --git a/scripts/install b/scripts/install index 8148aab..31f8ee4 100644 --- a/scripts/install +++ b/scripts/install @@ -96,16 +96,6 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=1 # Create a dedicated NGINX config ynh_add_nginx_config -#================================================= -# ADD A CONFIGURATION -#================================================= -# ynh_script_progression --message="Adding a configuration file..." --weight=1 - -# ynh_add_config --template="../conf/config.local.js" --destination="$final_path/dist/config.local.js" - -# chmod 400 "$final_path/dist/config.local.js" -# chown $app "$final_path/dist/config.local.js" - #================================================= # SPECIFIC SETUP #================================================= @@ -144,6 +134,16 @@ chown -R $app /var/log/$app # Setup logrotate ynh_use_logrotate --specific_user=$app/$app +#================================================= +# ADD A CONFIGURATION +#================================================= +ynh_script_progression --message="Adding a configuration file..." --weight=1 + +ynh_add_config --template="../conf/config.local.js" --destination="$final_path/dist/config.local.js" + +chmod 400 "$final_path/dist/config.local.js" +chown $app "$final_path/dist/config.local.js" + #================================================= # SETUP SYSTEMD #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 741354e..da2410b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,7 +84,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" #--keep="$final_path/dist/config.local.js" + ynh_setup_source --dest_dir="$final_path" --keep="$final_path/dist/config.local.js" fi chmod 750 "$final_path"