1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ombi_ynh.git synced 2024-09-03 19:55:54 +02:00

Merge branch 'testing'

This commit is contained in:
Éric Gaspar 2023-10-04 14:45:25 +02:00
commit de2cd7395b
4 changed files with 9 additions and 4 deletions

View file

@ -64,6 +64,11 @@ ram.runtime = "50M"
[resources.permissions]
main.url = "/"
main.auth_header = false
api.url = "/api"
api.allowed = "visitors"
api.show_tile = false
api.protected = true
[resources.ports]

View file

@ -33,7 +33,7 @@ ynh_add_nginx_config
# Create a dedicated systemd config
ynh_add_systemd_config
yunohost service add $app --description="A short description of the app" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Media request tool" --log="/var/log/$app/$app.log"
#=================================================
# APP INITIAL CONFIGURATION
@ -44,7 +44,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/database.json" --destination="$install_dir/database.json"
chmod 400 "$install_dir/database.json"
chmod 650 "$install_dir/database.json"
chown $app:$app "$install_dir/database.json"
#=================================================

View file

@ -48,7 +48,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service --quiet
yunohost service add $app --description="A short description of the app" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Media request tool" --log="/var/log/$app/$app.log"
#=================================================
# GENERIC FINALIZATION

View file

@ -43,7 +43,7 @@ ynh_add_nginx_config
ynh_add_systemd_config
yunohost service add $app --description="A short description of the app" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Media request tool" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE