mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Update install
This commit is contained in:
parent
c624a61407
commit
ad1b30c298
1 changed files with 4 additions and 2 deletions
|
@ -147,9 +147,11 @@ ynh_add_systemd_config
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_add_config --template="../conf/passwd" --destination="$final_path/data/passwd"
|
echo "${admin}:${password}" >> $final_path/data/passwd
|
||||||
|
|
||||||
|
#ynh_add_config --template="../conf/passwd" --destination="$final_path/data/passwd"
|
||||||
chmod 400 "$final_path/data/passwd"
|
chmod 400 "$final_path/data/passwd"
|
||||||
chown $app "$final_path/data/passwd"
|
chown $app: "$final_path/data/passwd"
|
||||||
ynh_add_config --template="../conf/groupname.json" --destination="$datadir/groups/$group_name.json"
|
ynh_add_config --template="../conf/groupname.json" --destination="$datadir/groups/$group_name.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue