1
0
Fork 0
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:
Éric Gaspar 2023-11-01 14:00:23 +01:00
parent 7df1907fcc
commit b3683c0f07
6 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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