1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
This commit is contained in:
Éric Gaspar 2023-10-24 09:40:03 +02:00
parent 09eb0fb0e2
commit 94439a9336
2 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
# Recreate a dedicated php-fpm config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --phpversion=$phpversion
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
ynh_restore_file --origin_path="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app"

View file

@ -54,7 +54,7 @@ fi
mkdir -p $install_dir/sessions/
chown -R $app $install_dir/{data,plugins,sessions}
chown -R $app $install_dir/{plugins,sessions}
chmod -R 700 $install_dir/sessions
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
@ -65,7 +65,7 @@ chown -R $app:www-data "$install_dir"
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=5
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_footprint
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
# Create a dedicated NGINX config
ynh_add_nginx_config