mirror of
https://github.com/YunoHost-Apps/mumble-web_ynh.git
synced 2024-09-03 19:46:16 +02:00
Merge branch 'testing' into add-logs
This commit is contained in:
commit
b2c8416e31
7 changed files with 14 additions and 14 deletions
|
@ -23,7 +23,7 @@ Web interface for voice chat software (VoIP)
|
|||
|
||||
## Screenshots
|
||||
|
||||

|
||||

|
||||
|
||||
## Disclaimers / important information
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ Interface web interface pour voix sur IP (VoIP)
|
|||
|
||||
## Captures d'écran
|
||||
|
||||

|
||||

|
||||
|
||||
## Avertissements / informations importantes
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 27 KiB |
BIN
doc/screenshots/screenshot.png
Normal file
BIN
doc/screenshots/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 102 KiB |
|
@ -31,7 +31,7 @@
|
|||
{
|
||||
"name": "domain",
|
||||
"type": "domain",
|
||||
"example": "domain.org"
|
||||
"example": "example.com"
|
||||
},
|
||||
{
|
||||
"name": "is_public",
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue