diff --git a/scripts/install b/scripts/install index c70c381..fd9eba3 100755 --- a/scripts/install +++ b/scripts/install @@ -91,7 +91,7 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression --message="Adding a cron job..." --weight=1 -ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" +ynh_add_config --template="cron" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app" diff --git a/scripts/upgrade b/scripts/upgrade index 7530aa8..91c535f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,10 +38,10 @@ ynh_script_progression --message="Upgrading system configurations related to $ap # Create a dedicated PHP-FPM config ynh_add_fpm_config -# Create a dedicated nginx config +# Create a dedicated NGINX config ynh_add_nginx_config -ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" +ynh_add_config --template="cron" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app"