1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/prowlarr_ynh.git synced 2024-09-03 20:16:07 +02:00
This commit is contained in:
Éric Gaspar 2023-11-18 18:41:22 +01:00 committed by tituspijean
parent 397e88292d
commit 85ecb3367a
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 6 additions and 5 deletions

View file

@ -10,10 +10,11 @@ source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# STANDARD REMOVE
# REMOVE SYSTEM CONFIGURATIONS
#=================================================
# REMOVE SERVICE INTEGRATION IN YUNOHOST
# REMOVE SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
if ynh_exec_warn_less yunohost service status $app >/dev/null

View file

@ -40,9 +40,9 @@ chmod -R o-rwx "$install_dir"
chown -R $app: "$install_dir"
#=================================================
# NGINX CONFIGURATION
# REAPPLY SYSTEM CONFIGURATIONS
#=================================================
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
# Create a dedicated NGINX config
ynh_add_nginx_config
@ -55,7 +55,7 @@ yunohost service add $app --description="Prowlarr daemon" --log="$data_dir/logs/
#=================================================
# UPDATE A CONFIG FILE
#=================================================
ynh_script_progression --message="Updating the configuration file.." --weight=1
ynh_script_progression --message="Updating the configuration file..." --weight=1
ynh_add_config --template="config.xml" --destination="$data_dir/config.xml"