1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ntfy_ynh.git synced 2024-09-03 19:46:27 +02:00

Merge pull request #3 from YunoHost-Apps/testing

Testing
This commit is contained in:
Alexander Wühr 2022-11-21 05:50:13 +01:00 committed by GitHub
commit 0735623ed1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 6 deletions

View file

@ -15,7 +15,8 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
## Overview ## Overview
Open Source Push Notification Server ntfy (pronounce: *notify*) is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, entirely without signup, cost or setup. It's also open source if you want to run your own.
**Shipped version:** 1.29.0~ynh1 **Shipped version:** 1.29.0~ynh1

View file

@ -15,6 +15,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
## Vue d'ensemble ## Vue d'ensemble
ntfy (pronounce: *notify*) is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, entirely without signup, cost or setup. It's also open source if you want to run your own.
**Version incluse :** 1.29.0~ynh1 **Version incluse :** 1.29.0~ynh1

1
doc/DESCRIPTION.md Normal file
View file

@ -0,0 +1 @@
ntfy (pronounce: *notify*) is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, entirely without signup, cost or setup. It's also open source if you want to run your own.

View file

@ -3,7 +3,8 @@
"id": "ntfy", "id": "ntfy",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "Open Source Push Notification Server" "en": "Open Source Push Notification Server",
"fr": "Serveur open source de notification"
}, },
"upstream": { "upstream": {
"license": "GPL-2.0-only", "license": "GPL-2.0-only",

View file

@ -110,7 +110,6 @@ chown $app:$app "$final_path/server.yml"
ynh_script_progression --message="Configuring a systemd service..." --weight=1 ynh_script_progression --message="Configuring a systemd service..." --weight=1
# Create a dedicated systemd config # Create a dedicated systemd config
architecture=$YNH_ARCH
ynh_add_systemd_config ynh_add_systemd_config
#================================================= #=================================================
@ -150,12 +149,12 @@ ynh_systemd_action --service_name=nginx --action=reload
#================================================= #=================================================
# ADD APP ADMIN USER # ADD APP ADMIN USER
#================================================= #=================================================
ynh_script_progression --message="Adding admin user..." --weight=1 ynh_script_progression --message="Adding admin user..." --weight=1
ynh_exec_as $app NTFY_PASSWORD="$password" $final_path/ntfy user --config=$final_path/server.yml add --role=admin $admin ynh_exec_as $app NTFY_PASSWORD="$password" $final_path/ntfy user --config=$final_path/server.yml add --role=admin $admin
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================
ynh_script_progression --message="Installation of $app completed" --last ynh_script_progression --message="Installation of $app completed" --last

View file

@ -109,7 +109,6 @@ chown $app:$app "$final_path/server.yml"
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
# Create a dedicated systemd config # Create a dedicated systemd config
architecture=$YNH_ARCH
ynh_add_systemd_config ynh_add_systemd_config
#================================================= #=================================================