1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotify_ynh.git synced 2024-09-03 20:36:26 +02:00
This commit is contained in:
Éric Gaspar 2022-09-13 08:30:21 +02:00
parent 4f62658115
commit 612efaaaad
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 12 additions and 20 deletions

View file

@ -5,11 +5,10 @@
;; Test complet ;; Test complet
; Manifest ; Manifest
domain="domain.tld" (DOMAIN) domain="domain.tld"
path="/path" (PATH) path="/path"
admin="john" (USER) admin="john"
password="pass" password="1Strong-Password"
port="666" (PORT)
; Checks ; Checks
pkg_linter=1 pkg_linter=1
setup_sub_dir=1 setup_sub_dir=1
@ -18,14 +17,12 @@
setup_private=0 setup_private=0
setup_public=0 setup_public=0
upgrade=1 upgrade=1
upgrade=1 from_commit=e0fbbb9a6d2fd87b4d42e85c0fc8f4e479689abc # 2.1.4~ynh2
# 2.1.4~ynh1 upgrade=1 from_commit=05cdef939dfb64e3a00c0f831ef6ef5dab109053
upgrade=1 from_commit=28288aaf8c675b5c4f9b738bf099e242a48bd27f
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
port_already_use=1
change_url=1 change_url=1
;;; Upgrade options ;;; Upgrade options
; commit=e0fbbb9a6d2fd87b4d42e85c0fc8f4e479689abc ; commit=05cdef939dfb64e3a00c0f831ef6ef5dab109053
name=Mon Feb 18 21:55:49 2019 +0100 Merge branch 'master' of github.com:YunoHost-Apps/gotify_ynh name=Merge pull request #39 from YunoHost-Apps/testing
manifest_arg=domain=DOMAIN&admin=USER&password=pass&port=666&path=/&is_public=1 manifest_arg=domain=DOMAIN&admin=USER&password=pass&port=666&path=/&is_public=1

View file

@ -3,8 +3,8 @@
"id": "gotify", "id": "gotify",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "A simple server for sending and receiving messages.", "en": "Simple server for sending and receiving messages",
"fr": "Un simple serveur pour envoyer et recevoir des messages." "fr": "Simple serveur pour envoyer et recevoir des messages"
}, },
"version": "2.1.7~ynh1", "version": "2.1.7~ynh1",
"url": "http://gotify.net", "url": "http://gotify.net",
@ -45,12 +45,7 @@
}, },
{ {
"name": "password", "name": "password",
"type": "password", "type": "password"
"ask": {
"en": "Set the administrator password",
"fr": "Définissez le mot de passe administrateur"
},
"example": "Choose a password"
} }
] ]
} }

View file

@ -88,7 +88,7 @@ chown -R $app: $final_path/data
ynh_script_progression --message="Making sure dedicated system user exists..." --weight=2 ynh_script_progression --message="Making sure dedicated system user exists..." --weight=2
# Create a dedicated user (if not existing) # Create a dedicated user (if not existing)
ynh_system_user_create $app ynh_system_user_create --username=$app --home_dir="$final_path"
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE