diff --git a/scripts/change_url b/scripts/change_url index 2476775..7d034bb 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -108,7 +108,7 @@ fi #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=10 -ynh_systemd_action --action=restart --log_path="systemd" --line_match="You can access your Etherpad instance at" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Your Etherpad version is" #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index 58cd633..ced2f2d 100644 --- a/scripts/install +++ b/scripts/install @@ -183,7 +183,7 @@ yunohost service add $app --description "Etherpad-lite, the collaborative editor ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --action=restart --log_path="systemd" --line_match="You can access your Etherpad instance at" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Your Etherpad version is" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index 38edfea..fd6b148 100644 --- a/scripts/restore +++ b/scripts/restore @@ -112,7 +112,7 @@ yunohost service add $app --description "Etherpad-lite, the collaborative editor #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=8 -ynh_systemd_action --action=restart --log_path="systemd" --line_match="You can access your Etherpad instance at" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Your Etherpad version is" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index b91ed24..c38edfb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -171,7 +171,7 @@ yunohost service add $app --description "Etherpad-lite, the collaborative editor #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=10 -ynh_systemd_action --action=restart --log_path="systemd" --line_match="You can access your Etherpad instance at" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Your Etherpad version is" #================================================= # RELOAD NGINX