1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moodle_ynh.git synced 2024-09-03 19:46:23 +02:00
This commit is contained in:
Éric Gaspar 2023-03-01 18:44:55 +01:00
parent 4ad47201eb
commit d627cb81b6
2 changed files with 8 additions and 0 deletions

View file

@ -85,6 +85,10 @@ ynh_psql_execute_as_root --database="$db_name" --sql="UPDATE public.mdl_user SET
php$phpversion "$install_dir/admin/cli/purge_caches.php" php$phpversion "$install_dir/admin/cli/purge_caches.php"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#================================================= #=================================================
# ADD CRON JOB # ADD CRON JOB
#================================================= #=================================================

View file

@ -123,6 +123,10 @@ ynh_psql_execute_as_root --database="$db_name" --sql="UPDATE public.mdl_user SET
php${phpversion} "$install_dir/admin/cli/purge_caches.php" php${phpversion} "$install_dir/admin/cli/purge_caches.php"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#================================================= #=================================================
# ADD CRON JOB # ADD CRON JOB
#================================================= #=================================================