1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yourls_ynh.git synced 2024-09-03 20:35:59 +02:00
This commit is contained in:
Éric Gaspar 2023-10-27 23:41:29 +02:00
parent 098a858e0e
commit 5279dca755
2 changed files with 3 additions and 3 deletions

View file

@ -50,14 +50,14 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=2
ynh_add_nginx_config
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low
ynh_add_fpm_config
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/config-sample.php" --destination="$install_dir/user/config.php"
ynh_add_config --template="config-sample.php" --destination="$install_dir/user/config.php"
chmod 600 "$install_dir/user/config.php"
chown $app:$app "$install_dir/user/config.php"

View file

@ -36,7 +36,7 @@ chown -R $app:www-data "$install_dir"
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=4
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=low --footprint=low
ynh_add_fpm_config
# Create a dedicated NGINX config
ynh_add_nginx_config