1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

Enable updating cron file during upgrade

This commit is contained in:
Jimmy Monin 2023-04-08 13:34:00 +02:00
parent fe6b8dad12
commit f3a2a15816

View file

@ -158,6 +158,16 @@ chown $app:$app "$install_dir/.env"
update-alternatives --set php /usr/bin/php${YNH_DEFAULT_PHP_VERSION}
#=================================================
# INSTALL THE CRON FILE
#=================================================
ynh_script_progression --message="Setuping a cron..." --weight=1
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"
#=================================================
# END OF SCRIPT
#=================================================