1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

Merge pull request #236 from YunoHost-Apps/v5.59.1

Upgrade to v5.59.1
This commit is contained in:
eric_G 2023-08-18 15:39:15 +02:00 committed by GitHub
commit 127ee54263
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 12 additions and 10 deletions

View file

@ -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

View file

@ -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

1
doc/ADMIN.md Normal file
View file

@ -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.

View file

@ -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!

View file

@ -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]

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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