diff --git a/scripts/change_url b/scripts/change_url index cb7f89a..f3d01be 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -7,7 +7,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression "Stopping $app's systemd service..." -ynh_systemctl --service="$app" --action="stop" --log_path="systemd" +ynh_systemctl --service="$app" --action="stop" #================================================= # MODIFY URL IN NGINX CONF @@ -28,7 +28,7 @@ ynh_config_add --template="config.js" --destination="$install_dir/server/config. #================================================= ynh_script_progression "Starting $app's systemd service..." -ynh_systemctl --service="$app" --action="start" --log_path="systemd" +ynh_systemctl --service="$app" --action="start" #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index 5f5a1cb..463da56 100644 --- a/scripts/install +++ b/scripts/install @@ -52,7 +52,7 @@ popd #================================================= ynh_script_progression "Starting $app's systemd service..." -ynh_systemctl --service="$app" --action="start" --log_path="systemd" +ynh_systemctl --service="$app" --action="start" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 64581cf..f0abdea 100644 --- a/scripts/restore +++ b/scripts/restore @@ -28,7 +28,7 @@ yunohost service add "$app" --description="Simple, private file sharing" --log=" #================================================= ynh_script_progression "Starting $app's systemd service..." -ynh_systemctl --service="$app" --action="start" --log_path="systemd" +ynh_systemctl --service="$app" --action="start" ynh_systemctl --service=nginx --action=reload diff --git a/scripts/upgrade b/scripts/upgrade index d706da7..d658852 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -7,7 +7,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression "Stopping $app's systemd service..." -ynh_systemctl --service="$app" --action="stop" --log_path="systemd" +ynh_systemctl --service="$app" --action="stop" #================================================= # ENSURE DOWNWARD COMPATIBILITY @@ -58,7 +58,7 @@ popd #================================================= ynh_script_progression "Starting $app's systemd service..." -ynh_systemctl --service="$app" --action="start" --log_path="systemd" +ynh_systemctl --service="$app" --action="start" #================================================= # END OF SCRIPT