1
0
Fork 0
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:
eric_G 2024-06-10 18:59:23 +02:00 committed by GitHub
commit 350f20a003
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 10 additions and 10 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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