mirror of
https://github.com/YunoHost-Apps/radarr_ynh.git
synced 2024-09-03 20:16:13 +02:00
fix
This commit is contained in:
parent
17c9629b2d
commit
bcc3ef96ae
2 changed files with 0 additions and 20 deletions
|
@ -54,16 +54,6 @@ ynh_script_progression --message="Removing logrotate configuration..." --weight=
|
|||
# Remove the app-specific logrotate config
|
||||
ynh_remove_logrotate
|
||||
|
||||
#=================================================
|
||||
# CLOSE A PORT
|
||||
#=================================================
|
||||
|
||||
if yunohost firewall list | grep -q "\- $port$"
|
||||
then
|
||||
ynh_script_progression --message="Closing port $port..." --weight=1
|
||||
ynh_exec_warn_less yunohost firewall disallow TCP $port
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC REMOVE
|
||||
#=================================================
|
||||
|
|
|
@ -57,16 +57,6 @@ ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
|
|||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config
|
||||
|
||||
#=================================================
|
||||
# UPDATE A CONFIG FILE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating the configuration file.." --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/config.xml" --destination="$data_dir/config.xml"
|
||||
|
||||
chmod 400 "$data_dir/config.xml"
|
||||
chown $app:$app "$data_dir/config.xml"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue