diff --git a/scripts/install b/scripts/install index 5e8ffc3..93c930d 100755 --- a/scripts/install +++ b/scripts/install @@ -418,4 +418,4 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app +ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Running Pleroma.Web.Endpoint" diff --git a/scripts/remove b/scripts/remove index e5c24ea..e22f895 100755 --- a/scripts/remove +++ b/scripts/remove @@ -35,6 +35,12 @@ then yunohost service remove $app fi +#================================================= +# START SERVICE +#================================================= + +ynh_systemd_action --action=stop --service_name=$app + #================================================= # STOP AND REMOVE SERVICE #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 124b568..a805876 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -253,4 +253,4 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app +ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Running Pleroma.Web.Endpoint"