From 422c134d1f052d67d9dd481104c0db77d689d574 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 30 Jul 2022 00:06:35 +0200 Subject: [PATCH 1/2] Apply example_ynh --- conf/systemd.service | 1 + doc/DESCRIPTION.md | 1 + doc/DESCRIPTION_fr.md | 1 + manifest.json | 2 +- scripts/change_url | 3 ++- 5 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 doc/DESCRIPTION.md create mode 100644 doc/DESCRIPTION_fr.md diff --git a/conf/systemd.service b/conf/systemd.service index 3930360..8c88509 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,6 +7,7 @@ After=network.target [Service] Type=forking User=__APP__ +Group=__APP__ Restart=always RestartSec=10 WorkingDirectory=__FINALPATH__ diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md new file mode 100644 index 0000000..44a7ed4 --- /dev/null +++ b/doc/DESCRIPTION.md @@ -0,0 +1 @@ +Lstu means Let's Shorten That URL. diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md new file mode 100644 index 0000000..05d981f --- /dev/null +++ b/doc/DESCRIPTION_fr.md @@ -0,0 +1 @@ +Raccourcisseur d'URL diff --git a/manifest.json b/manifest.json index a37b077..4e620a7 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "URL Shortener", "fr": "Raccourcisseur d'URL" }, - "version": "0.26.0~ynh1", + "version": "0.26.0~ynh2", "url": "https://lstu.fr", "upstream": { "license": "WTFPL", diff --git a/scripts/change_url b/scripts/change_url index 569a0d8..6bb49eb 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -152,7 +152,8 @@ fi #================================================= ynh_script_progression --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Server available at" +# Start a systemd service +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Server available at" #================================================= # RELOAD NGINX From ed69d8616b0c10c131ecf63cd66b2642d8c06480 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 29 Jul 2022 22:06:40 +0000 Subject: [PATCH 2/2] Auto-update README --- README.md | 5 +++-- README_fr.md | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3e93ac5..ae5b2ee 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,10 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview -URL Shortener +Lstu means Let's Shorten That URL. -**Shipped version:** 0.26.0~ynh1 + +**Shipped version:** 0.26.0~ynh2 **Demo:** https://lstu.fr diff --git a/README_fr.md b/README_fr.md index c2de48e..4c5d4ba 100644 --- a/README_fr.md +++ b/README_fr.md @@ -17,7 +17,8 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Raccourcisseur d'URL -**Version incluse :** 0.26.0~ynh1 + +**Version incluse :** 0.26.0~ynh2 **Démo :** https://lstu.fr