diff --git a/README.md b/README.md index fb9d952..2dbd62e 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Ghost is a powerful app for new-media creators to publish, share, and grow a bus It comes with modern tools to build a website, publish content, send newsletters & offer paid subscriptions to members. -**Shipped version:** 5.44.0~ynh1 +**Shipped version:** 5.59.1~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 0dbcbb4..932ac08 100644 --- a/README_fr.md +++ b/README_fr.md @@ -21,7 +21,7 @@ Ghost is a powerful app for new-media creators to publish, share, and grow a bus It comes with modern tools to build a website, publish content, send newsletters & offer paid subscriptions to members. -**Version incluse :** 5.44.0~ynh1 +**Version incluse :** 5.59.1~ynh1 ## Captures d’écran diff --git a/doc/ADMIN.md b/doc/ADMIN.md new file mode 100644 index 0000000..1a8f714 --- /dev/null +++ b/doc/ADMIN.md @@ -0,0 +1 @@ +If you want to use Ghost's CLI, run `sudo yunohost app shell __APP__` in a terminal to load the proper environment. diff --git a/doc/PRE_UPGRADE.d/5.44.0~ynh1.md b/doc/PRE_UPGRADE.d/5.44.0~ynh1.md index bfe7ddf..e3ff191 100644 --- a/doc/PRE_UPGRADE.d/5.44.0~ynh1.md +++ b/doc/PRE_UPGRADE.d/5.44.0~ynh1.md @@ -1,6 +1,7 @@ Starting v5.44.0~ynh1, the package relies on Ghost CLI to manage the installation of the app. The migration has been tested, though please report any issue you might encounter. +You might need to manually move your `content` directory to its proper location in `__INSTALL_DIR__/ghost/content`. Remember that a backup is performed before any app upgrade by your YunoHost server. Enjoy! diff --git a/manifest.toml b/manifest.toml index d508d46..61335d0 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,8 +5,7 @@ name = "Ghost" description.en = "Publishing, memberships, subscriptions and newsletters platform" description.fr = "Plateforme d'édition, d'adhésions, d'abonnements et de newsletters" -version = "5.44.0~ynh1" - +version = "5.59.1~ynh1" maintainers = ["Julien Malik"] [upstream] @@ -42,6 +41,7 @@ ram.runtime = "1G" [resources] [resources.system_user] + allow_email = true [resources.install_dir] diff --git a/scripts/change_url b/scripts/change_url index 291aea2..78618c4 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -21,7 +21,7 @@ fi #================================================= ynh_script_progression --message="Stopping a systemd service..." --time --weight=1 -ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action=stop --log_path="systemd" --line_match="Ghost has shut down" --timeout=60 #================================================= # MODIFY URL IN NGINX CONF @@ -46,7 +46,7 @@ echo "$(jq -r --arg YNH_APP_NEW_DOMAIN $YNH_APP_NEW_DOMAIN --arg YNH_APP_NEW_PAT #================================================= ynh_script_progression --message="Starting a systemd service..." --time --weight=1 -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Ghost booted" --timeout=60 #================================================= # END OF SCRIPT diff --git a/scripts/install b/scripts/install index cfdf894..70ce8c2 100644 --- a/scripts/install +++ b/scripts/install @@ -87,7 +87,7 @@ yunohost service add $app --description="$app daemon for Ghost" --log="$install_ ynh_script_progression --message="Starting a systemd service..." # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --line_match="Ghost booted" --timeout=60 +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Ghost booted" --timeout=60 #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index c958b5c..fb722c7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -72,7 +72,7 @@ yunohost service add $app --description="$app daemon for Ghost" --log="$install_ #================================================= ynh_script_progression --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action=start --line_match="Ghost booted" --timeout=60 +ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Ghost booted" --timeout=60 #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 35f9464..27776cc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -29,7 +29,7 @@ fi #================================================= ynh_script_progression --message="Stopping a systemd service..." -ynh_systemd_action --service_name=$app --action=stop +ynh_systemd_action --service_name=$app --action=stop --log_path="systemd" --line_match="Ghost has shut down" --timeout=60 #================================================= # UPGRADE DEPENDENCIES @@ -157,7 +157,7 @@ yunohost service add $app --description="$app daemon for Ghost" --log="$install_ #================================================= ynh_script_progression --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action=start --line_match="Ghost booted" --timeout=60 +ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Ghost booted" --timeout=60 #================================================= # END OF SCRIPT