1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pufferpanel_ynh.git synced 2024-09-03 20:16:03 +02:00
This commit is contained in:
ericgaspar 2023-10-29 08:47:03 +01:00
parent deec640f5f
commit abf992169b
4 changed files with 3 additions and 25 deletions

View file

@ -1,22 +0,0 @@
;; Test complet
; Manifest
domain="domain.tld"
is_public=1
admin="johnjohn"
password="1Strong-Password"
; Checks
pkg_linter=1
setup_sub_dir=0
setup_root=1
setup_nourl=0
setup_private=1
setup_public=1
upgrade=1
# upgrade=1 from_commit=CommitHash
backup_restore=1
multi_instance=0
port_already_use=0
change_url=1
;;; Options
Email=
Notification=none

View file

@ -32,7 +32,7 @@ ynh_change_url_nginx_config
#=================================================
ynh_script_progression --message="Updating a configuration file..."
ynh_add_config --template="../conf/config.json" --destination="/etc/$app/config.json"
ynh_add_config --template="config.json" --destination="/etc/$app/config.json"
chmod 650 "/etc/$app/config.json"
chown $app:$app "/etc/$app/config.json"

View file

@ -51,7 +51,7 @@ yunohost service add $app --description="Web-based Game Server Management System
#=================================================
ynh_script_progression --message="Adding a configuration file..."
ynh_add_config --template="../conf/config.json" --destination="/etc/$app/config.json"
ynh_add_config --template="config.json" --destination="/etc/$app/config.json"
chmod 650 "/etc/$app/config.json"
chown $app:$app "/etc/$app/config.json"

View file

@ -49,7 +49,7 @@ yunohost service add $app --description="Web-based Game Server Management System
#=================================================
ynh_script_progression --message="Updating a configuration file..."
ynh_add_config --template="../conf/config.json" --destination="/etc/$app/config.json"
ynh_add_config --template="config.json" --destination="/etc/$app/config.json"
chmod 650 "/etc/$app/config.json"
chown $app:$app "/etc/$app/config.json"