mirror of
https://github.com/YunoHost-Apps/ombi_ynh.git
synced 2024-09-03 19:55:54 +02:00
Update install
This commit is contained in:
parent
ea207a0e5f
commit
4693c7065a
1 changed files with 3 additions and 3 deletions
|
@ -42,10 +42,10 @@ yunohost service add $app --description="Media request tool" --log="/var/log/$ap
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="../conf/database.json" --destination="$install_dir/database.json"
|
ynh_add_config --template="../conf/database.json" --destination="$data_dir/database.json"
|
||||||
|
|
||||||
chmod 650 "$install_dir/database.json"
|
chmod 650 "$data_dir/database.json"
|
||||||
chown $app:$app "$install_dir/database.json"
|
chown $app:$app "$data_dir/database.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue