mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2025-09-06 12:03:03 +02:00
cleaning
This commit is contained in:
@ -17,8 +17,6 @@ ynh_script_progression "Updating NGINX web server configuration..."
|
||||
|
||||
ynh_config_change_url_nginx
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC MODIFICATIONS
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
@ -27,15 +25,14 @@ ynh_script_progression "Adding $app's configuration..."
|
||||
domain=$new_domain
|
||||
ynh_config_add --template="config.js" --destination="$install_dir/server/config.js"
|
||||
|
||||
#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 400 "$install_dir/server/config.js"
|
||||
#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown "$app:$app" "$install_dir/server/config.js"
|
||||
#chmod 400 "$install_dir/server/config.js"
|
||||
#chown "$app:$app" "$install_dir/server/config.js"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression "Starting $app's systemd service..."
|
||||
|
||||
# Start a systemd service
|
||||
ynh_systemctl --service="$app" --action="start" --log_path="systemd"
|
||||
|
||||
#=================================================
|
||||
|
Reference in New Issue
Block a user