mirror of
https://github.com/YunoHost-Apps/pufferpanel_ynh.git
synced 2024-09-03 20:16:03 +02:00
cleaning
This commit is contained in:
parent
deec640f5f
commit
abf992169b
4 changed files with 3 additions and 25 deletions
|
@ -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
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue