mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
Merge pull request #81 from YunoHost-Apps/testing
Fix systemd line_match
This commit is contained in:
commit
350f20a003
10 changed files with 10 additions and 10 deletions
|
@ -19,7 +19,7 @@ It shall NOT be edited by hand.
|
||||||
Lstu means Let's Shorten That URL.
|
Lstu means Let's Shorten That URL.
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 0.28-0~ynh1
|
**Shipped version:** 0.28-0~ynh2
|
||||||
|
|
||||||
**Demo:** <https://lstu.fr>
|
**Demo:** <https://lstu.fr>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ No se debe editar a mano.
|
||||||
Lstu means Let's Shorten That URL.
|
Lstu means Let's Shorten That URL.
|
||||||
|
|
||||||
|
|
||||||
**Versión actual:** 0.28-0~ynh1
|
**Versión actual:** 0.28-0~ynh2
|
||||||
|
|
||||||
**Demo:** <https://lstu.fr>
|
**Demo:** <https://lstu.fr>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ EZ editatu eskuz.
|
||||||
Lstu means Let's Shorten That URL.
|
Lstu means Let's Shorten That URL.
|
||||||
|
|
||||||
|
|
||||||
**Paketatutako bertsioa:** 0.28-0~ynh1
|
**Paketatutako bertsioa:** 0.28-0~ynh2
|
||||||
|
|
||||||
**Demoa:** <https://lstu.fr>
|
**Demoa:** <https://lstu.fr>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
|
||||||
Raccourcisseur d'URL
|
Raccourcisseur d'URL
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 0.28-0~ynh1
|
**Version incluse :** 0.28-0~ynh2
|
||||||
|
|
||||||
**Démo :** <https://lstu.fr>
|
**Démo :** <https://lstu.fr>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ NON debe editarse manualmente.
|
||||||
Lstu means Let's Shorten That URL.
|
Lstu means Let's Shorten That URL.
|
||||||
|
|
||||||
|
|
||||||
**Versión proporcionada:** 0.28-0~ynh1
|
**Versión proporcionada:** 0.28-0~ynh2
|
||||||
|
|
||||||
**Demo:** <https://lstu.fr>
|
**Demo:** <https://lstu.fr>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
Lstu means Let's Shorten That URL.
|
Lstu means Let's Shorten That URL.
|
||||||
|
|
||||||
|
|
||||||
**分发版本:** 0.28-0~ynh1
|
**分发版本:** 0.28-0~ynh2
|
||||||
|
|
||||||
**演示:** <https://lstu.fr>
|
**演示:** <https://lstu.fr>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "Lstu"
|
||||||
description.en = "URL Shortener"
|
description.en = "URL Shortener"
|
||||||
description.fr = "Raccourcisseur d'URL"
|
description.fr = "Raccourcisseur d'URL"
|
||||||
|
|
||||||
version = "0.28-0~ynh1"
|
version = "0.28-0~ynh2"
|
||||||
|
|
||||||
maintainers = ["frju365"]
|
maintainers = ["frju365"]
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ ynh_add_config --template="../conf/lstu.conf.ldap" --destination="$install_dir/l
|
||||||
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" --log_path="systemd" --line_match="Server available at"
|
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Web application available at"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
|
@ -75,7 +75,7 @@ popd
|
||||||
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" --log_path="systemd" --line_match="Server available at"
|
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Web application available at"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
|
@ -56,7 +56,7 @@ yunohost service add $app --log="/var/log/$app.log" --log="/var/www/$app/log/pro
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1
|
ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Server available at"
|
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Web application available at"
|
||||||
|
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
ynh_systemd_action --service_name=nginx --action=reload
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue