mirror of
https://github.com/YunoHost-Apps/owncloud_ynh.git
synced 2024-09-03 19:56:25 +02:00
fix
This commit is contained in:
parent
3f4d767528
commit
879b6b35ba
2 changed files with 7 additions and 0 deletions
|
@ -30,6 +30,9 @@ ynh_script_progression "Adding $app's configuration..."
|
|||
|
||||
ynh_config_add --template=".env" --destination="$data_dir/config/ocis.env"
|
||||
|
||||
chmod 400 "$data_dir/config/ocis.env"
|
||||
chown $app:$app "$data_dir/config/ocis.env"
|
||||
|
||||
#=================================================
|
||||
# INSTALL OWNCLOUD
|
||||
#=================================================
|
||||
|
@ -39,6 +42,7 @@ pushd "$install_dir"
|
|||
./ocis init --insecure=true --force-overwrite=true --admin-password=$password --config-path=$data_dir/config/
|
||||
popd
|
||||
|
||||
chmod 400 "$data_dir/config/ocis.yaml"
|
||||
chown $app:$app "$data_dir/config/ocis.yaml"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -46,6 +46,9 @@ ynh_script_progression "Adding $app's configuration..."
|
|||
|
||||
ynh_config_add --template=".env" --destination="$install_dir/ocis.env"
|
||||
|
||||
chmod 400 "$data_dir/config/ocis.env"
|
||||
chown $app:$app "$data_dir/config/ocis.env"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue