diff --git a/manifest.json b/manifest.json index 038e16a..462506c 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Distributed pastebin with ActivityPub.", "fr": "Pastebin distribué utilisant le protocole ActivityPub." }, - "version": "1.2.0~ynh1", + "version": "1.2.0~ynh2", "url": "https://example.com", "license": "Apache-2.0", "maintainer": { diff --git a/scripts/restore b/scripts/restore index 4196bee..d440e01 100644 --- a/scripts/restore +++ b/scripts/restore @@ -140,7 +140,7 @@ chown -R "$app":"$app" "/var/log/$app" # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="http://localhost:" +ynh_systemd_action --action=start --service_name=$app --line_match="http" #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index 1ad8b02..80f5908 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -213,7 +213,7 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="http://localhost:" +ynh_systemd_action --action=start --service_name=$app --line_match="http" #================================================= # END OF SCRIPT