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:
parent
a906916ada
commit
fb7e948fc7
3 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue