1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snweb_ynh.git synced 2024-09-03 20:26:22 +02:00

Remove unnecessary --others-var

This commit is contained in:
Fabian Wilkens 2021-05-11 21:25:49 +02:00
parent 2846c59dc1
commit fbda168615
No known key found for this signature in database
GPG key ID: 23DFA025BB4E9FAB
3 changed files with 5 additions and 12 deletions

View file

@ -89,7 +89,7 @@ then
domain="$old_domain"
path_url="$new_path"
# Create a dedicated nginx config
ynh_add_nginx_config "port"
ynh_add_nginx_config
fi
# Change the domain for nginx

View file

@ -94,7 +94,7 @@ popd
ynh_script_progression --message="Configuring nginx web server..." --weight=3
# Create a dedicated nginx config
ynh_add_nginx_config "port"
ynh_add_nginx_config
#=================================================
# CREATE DEDICATED USER
@ -159,10 +159,7 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=3
# Create a dedicated systemd config
ynh_add_systemd_config --others_var="\
port \
RBENV_ROOT \
"
ynh_add_systemd_config
#=================================================
# STORE THE CONFIG FILE CHECKSUM

View file

@ -118,8 +118,7 @@ fi
ynh_script_progression --message="Upgrading nginx web server configuration..." --weight=3
# Create a dedicated nginx config
ynh_add_nginx_config "port"
ynh_add_nginx_config
#=================================================
# CREATE DEDICATED USER
@ -188,10 +187,7 @@ fi
ynh_script_progression --message="Upgrading systemd configuration..." --weight=4
# Create a dedicated systemd config
ynh_add_systemd_config --others_var="\
port \
RBENV_ROOT \
"
ynh_add_systemd_config
#=================================================
# STORE THE CONFIG FILE CHECKSUM