1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/prowlarr_ynh.git synced 2024-09-03 20:16:07 +02:00

Circumvent config.xml 'manually edited' warning

This commit is contained in:
tituspijean 2023-04-04 22:44:19 +02:00
parent a906916ada
commit fb7e948fc7
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
3 changed files with 9 additions and 0 deletions

View file

@ -173,6 +173,9 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started"
# FIXME Update config.xml checksum, for a mere file ending with or without a new line...
ynh_store_file_checksum --file="$data_path/config.xml"
#=================================================
# SETUP SSOWAT
#=================================================

View file

@ -128,6 +128,9 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started"
# FIXME Update config.xml checksum, for a mere file ending with or without a new line...
ynh_store_file_checksum --file="$data_path/config.xml"
#=================================================
# RESTORE THE LOGROTATE CONFIGURATION
#=================================================

View file

@ -167,6 +167,9 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Application started"
# FIXME Update config.xml checksum, for a mere file ending with or without a new line...
ynh_store_file_checksum --file="$data_path/config.xml"
#=================================================
# RELOAD NGINX
#=================================================