mirror of
https://github.com/YunoHost-Apps/moodle_ynh.git
synced 2024-09-03 19:46:23 +02:00
fix
This commit is contained in:
parent
4ad47201eb
commit
d627cb81b6
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue