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

View file

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