mirror of
https://github.com/YunoHost-Apps/rustdesk-server_ynh.git
synced 2024-09-03 20:16:24 +02:00
remove nginx
This commit is contained in:
parent
7df1907fcc
commit
b3683c0f07
6 changed files with 6 additions and 6 deletions
|
@ -25,7 +25,7 @@ ynh_backup --src_path="$install_dir"
|
|||
# BACKUP THE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
#ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# BACKUP LOGROTATE
|
||||
|
|
|
@ -24,7 +24,7 @@ ynh_systemd_action --service_name=rustdesksignal --action="stop" --log_path="sys
|
|||
#=================================================
|
||||
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
|
||||
|
||||
ynh_change_url_nginx_config
|
||||
#ynh_change_url_nginx_config
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALISATION
|
||||
|
|
|
@ -30,7 +30,7 @@ chmod +x "$install_dir/hbbs"
|
|||
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
|
||||
|
||||
# Create a dedicated NGINX config using the conf/nginx.conf template
|
||||
ynh_add_nginx_config
|
||||
#ynh_add_nginx_config
|
||||
|
||||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config --service=rustdeskrelay --template=rustdeskrelay.service
|
||||
|
|
|
@ -31,7 +31,7 @@ fi
|
|||
ynh_remove_systemd_config --service=rustdeskrelay
|
||||
ynh_remove_systemd_config --service=rustdesksignal
|
||||
|
||||
ynh_remove_nginx_config
|
||||
#ynh_remove_nginx_config
|
||||
|
||||
# Remove the app-specific logrotate config
|
||||
ynh_remove_logrotate
|
||||
|
|
|
@ -29,7 +29,7 @@ chmod +x "$install_dir/hbbs"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1
|
||||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
#ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
# Create log directory
|
||||
mkdir -p /var/log/$app
|
||||
|
|
|
@ -43,7 +43,7 @@ chmod +x "$install_dir/hbbs"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
|
||||
|
||||
ynh_add_nginx_config
|
||||
#ynh_add_nginx_config
|
||||
|
||||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config --service=rustdeskrelay --template=rustdeskrelay.service
|
||||
|
|
Loading…
Reference in a new issue