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

Apply example_ynh

This commit is contained in:
yalh76 2022-07-30 00:06:35 +02:00
parent cecbb81af1
commit 422c134d1f
5 changed files with 6 additions and 2 deletions

View file

@ -7,6 +7,7 @@ After=network.target
[Service] [Service]
Type=forking Type=forking
User=__APP__ User=__APP__
Group=__APP__
Restart=always Restart=always
RestartSec=10 RestartSec=10
WorkingDirectory=__FINALPATH__ WorkingDirectory=__FINALPATH__

1
doc/DESCRIPTION.md Normal file
View file

@ -0,0 +1 @@
Lstu means Let's Shorten That URL.

1
doc/DESCRIPTION_fr.md Normal file
View file

@ -0,0 +1 @@
Raccourcisseur d'URL

View file

@ -6,7 +6,7 @@
"en": "URL Shortener", "en": "URL Shortener",
"fr": "Raccourcisseur d'URL" "fr": "Raccourcisseur d'URL"
}, },
"version": "0.26.0~ynh1", "version": "0.26.0~ynh2",
"url": "https://lstu.fr", "url": "https://lstu.fr",
"upstream": { "upstream": {
"license": "WTFPL", "license": "WTFPL",

View file

@ -152,7 +152,8 @@ fi
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." 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 # RELOAD NGINX