diff --git a/manifest.json b/manifest.json index b607c8c..e286bf5 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.3.0~ynh10", + "version": "1.3.0~ynh11", "url": "https://distbin.com", "upstream": { "license": "Apache-2.0", diff --git a/scripts/_common.sh b/scripts/_common.sh index 0d2ca6e..80678ad 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="ca-certificates curl sudo" +pkg_dependencies="ca-certificates curl sudo rsync" NODEJS_VERSION=10 diff --git a/scripts/change_url b/scripts/change_url index 979258e..781a0db 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -71,7 +71,7 @@ fi #================================================= ynh_script_progression --message="Stopping a systemd service..." -ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped Distbin Service" +ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped" #================================================= # MODIFY URL IN NGINX CONF @@ -139,7 +139,7 @@ ynh_store_file_checksum --file="$config" ynh_script_progression --message="Starting a systemd service..." # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started Distbin Service" +ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started" if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then sleep 60 diff --git a/scripts/install b/scripts/install index 6670c30..9cbe80d 100644 --- a/scripts/install +++ b/scripts/install @@ -182,7 +182,7 @@ yunohost service add $app --description="Distributed pastebin" --log="/var/log/$ ynh_script_progression --message="Starting a systemd service..." # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started Distbin Service" +ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started" if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then sleep 60 diff --git a/scripts/restore b/scripts/restore index 4680052..793c6fa 100644 --- a/scripts/restore +++ b/scripts/restore @@ -130,7 +130,7 @@ yunohost service add $app --description="Distributed pastebin" --log="/var/log/$ #================================================= ynh_script_progression --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started Distbin Service" +ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started" if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then sleep 60 diff --git a/scripts/upgrade b/scripts/upgrade index 03b2bab..44140c9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,7 +51,7 @@ ynh_abort_if_errors #================================================= ynh_script_progression --message="Stopping a systemd service..." -ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped Distbin Service" +ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped" #================================================= # ENSURE DOWNWARD COMPATIBILITY @@ -203,7 +203,7 @@ yunohost service add $app --description="Distributed pastebin" --log="/var/log/$ #================================================= ynh_script_progression --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started Distbin Service" +ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started" if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then sleep 60