mirror of
https://github.com/YunoHost-Apps/librespeed_ynh.git
synced 2024-09-03 19:36:23 +02:00
cleaning
This commit is contained in:
parent
aa1ded41f2
commit
dabdc8d621
2 changed files with 4 additions and 4 deletions
|
@ -40,11 +40,11 @@ ynh_mysql_connect_as --user="$db_name" --password="$db_pwd" --database="$db_name
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring $app..." --weight=3
|
||||
|
||||
ynh_add_config --template="../conf/telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php"
|
||||
ynh_add_config --template="telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php"
|
||||
chmod 650 "$install_dir/results/telemetry_settings.php"
|
||||
chown $app:www-data "$install_dir/results/telemetry_settings.php"
|
||||
|
||||
ynh_add_config --template="../conf/example-singleServer-full.html" --destination="$install_dir/index.html"
|
||||
ynh_add_config --template="example-singleServer-full.html" --destination="$install_dir/index.html"
|
||||
chmod 650 "$install_dir/index.html"
|
||||
chown $app:www-data "$install_dir/index.html"
|
||||
|
||||
|
|
|
@ -51,11 +51,11 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
|||
then
|
||||
ynh_script_progression --message="Reconfiguring LibreSpeed..."
|
||||
|
||||
ynh_add_config --template="../conf/telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php"
|
||||
ynh_add_config --template="telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php"
|
||||
chmod 650 "$install_dir/results/telemetry_settings.php"
|
||||
chown $app:www-data "$install_dir/results/telemetry_settings.php"
|
||||
|
||||
ynh_add_config --template="../conf/example-singleServer-full.html" --destination="$install_dir/index.html"
|
||||
ynh_add_config --template="example-singleServer-full.html" --destination="$install_dir/index.html"
|
||||
chmod 650 "$install_dir/index.html"
|
||||
chown $app:www-data "$install_dir/index.html"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue