mirror of
https://github.com/YunoHost-Apps/pufferpanel_ynh.git
synced 2024-09-03 20:16:03 +02:00
fix
This commit is contained in:
parent
763efe5fca
commit
ddb573f459
2 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ ynh_script_progression --message="Adding a configuration file..."
|
|||
|
||||
ynh_add_config --template="../conf/config.json" --destination="/etc/$app/config.json"
|
||||
|
||||
chmod 400 "/etc/$app/config.json"
|
||||
chmod 650 "/etc/$app/config.json"
|
||||
chown $app:$app "/etc/$app/config.json"
|
||||
|
||||
pufferpanel user add --admin --email $mail --name $admin --password $password
|
||||
|
|
|
@ -93,7 +93,7 @@ ynh_script_progression --message="Updating a configuration file..."
|
|||
|
||||
ynh_add_config --template="../conf/config.json" --destination="/etc/$app/config.json"
|
||||
|
||||
chmod 400 "/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