mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
commit
127ee54263
9 changed files with 12 additions and 10 deletions
|
@ -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.
|
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
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -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.
|
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
|
## Captures d’écran
|
||||||
|
|
||||||
|
|
1
doc/ADMIN.md
Normal file
1
doc/ADMIN.md
Normal 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.
|
|
@ -1,6 +1,7 @@
|
||||||
Starting v5.44.0~ynh1, the package relies on Ghost CLI to manage the installation of the app.
|
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.
|
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.
|
Remember that a backup is performed before any app upgrade by your YunoHost server.
|
||||||
|
|
||||||
Enjoy!
|
Enjoy!
|
||||||
|
|
|
@ -5,8 +5,7 @@ name = "Ghost"
|
||||||
description.en = "Publishing, memberships, subscriptions and newsletters platform"
|
description.en = "Publishing, memberships, subscriptions and newsletters platform"
|
||||||
description.fr = "Plateforme d'édition, d'adhésions, d'abonnements et de newsletters"
|
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"]
|
maintainers = ["Julien Malik"]
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
|
@ -42,6 +41,7 @@ ram.runtime = "1G"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
allow_email = true
|
||||||
|
|
||||||
[resources.install_dir]
|
[resources.install_dir]
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Stopping a systemd service..." --time --weight=1
|
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
|
# 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_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
|
# END OF SCRIPT
|
||||||
|
|
|
@ -87,7 +87,7 @@ yunohost service add $app --description="$app daemon for Ghost" --log="$install_
|
||||||
ynh_script_progression --message="Starting a systemd service..."
|
ynh_script_progression --message="Starting a systemd service..."
|
||||||
|
|
||||||
# Start 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
|
# END OF SCRIPT
|
||||||
|
|
|
@ -72,7 +72,7 @@ yunohost service add $app --description="$app daemon for Ghost" --log="$install_
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..."
|
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
|
# GENERIC FINALIZATION
|
||||||
|
|
|
@ -29,7 +29,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Stopping a systemd service..."
|
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
|
# 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_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
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Add table
Reference in a new issue