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:18:03 +01:00 committed by tituspijean
parent 5d0d0fa122
commit b91ccb7a61
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
3 changed files with 21 additions and 0 deletions

View file

@ -68,4 +68,8 @@ ram.runtime = "50M"
[resources.apt]
packages = "curl, mediainfo, sqlite3"
<<<<<<< HEAD
=======
>>>>>>> 64e384b (v2)

View file

@ -31,7 +31,15 @@ ynh_change_url_nginx_config
# UPDATE CONFIGURATION FILE
#=================================================
<<<<<<< HEAD
ynh_replace_string --match_string="<UrlBase>$old_path</UrlBase>" --replace_string="<UrlBase>$new_path</UrlBase>" --target_file="$data_dir/config.xml"
=======
ynh_exec_warn_less 'ynh_add_config --template="config.xml" --destination="$data_dir/config.xml"'
chmod 750 "$data_dir/config.xml"
chmod o-rwx "$data_dir/config.xml"
chown $app "$data_dir/config.xml"
>>>>>>> 64e384b (v2)
#=================================================
# GENERIC FINALISATION

View file

@ -10,9 +10,15 @@ source _common.sh
source /usr/share/yunohost/helpers
#=================================================
<<<<<<< HEAD
# REMOVE SYSTEM CONFIGURATIONS
#=================================================
# REMOVE SYSTEMD SERVICE
=======
# STANDARD REMOVE
#=================================================
# REMOVE SERVICE INTEGRATION IN YUNOHOST
>>>>>>> 64e384b (v2)
#=================================================
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
@ -32,9 +38,12 @@ ynh_remove_nginx_config
# Remove the app-specific logrotate config
ynh_remove_logrotate
<<<<<<< HEAD
# Remove the log files
ynh_secure_remove --file="/var/log/$app"
=======
>>>>>>> 64e384b (v2)
#=================================================
# END OF SCRIPT
#=================================================