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
ccb0f666a0
commit
e362f5af76
2 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ location __PATH__/ {
|
|||
# Path to source
|
||||
alias __INSTALL_DIR__/;
|
||||
|
||||
index singleServer-full.html index.php;
|
||||
index index.html index.php;
|
||||
|
||||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||
client_max_body_size 256M;
|
||||
|
|
|
@ -39,12 +39,12 @@ 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="../conf/example-singleServer-full.html" --destination="$install_dir/singleServer-full.html"
|
||||
ynh_add_config --template="../conf/example-singleServer-full.html" --destination="$install_dir/index.html"
|
||||
|
||||
chmod 400 "$install_dir/results/telemetry_settings.php"
|
||||
chmod 400 "$install_dir/singleServer-full.html"
|
||||
chmod 400 "$install_dir/index.html"
|
||||
chown $app:www-data "$install_dir/results/telemetry_settings.php"
|
||||
chown $app:www-data "$install_dir/singleServer-full.html"
|
||||
chown $app:www-data "$install_dir/index.html"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Add table
Reference in a new issue