diff --git a/scripts/install b/scripts/install index e9e52d8..cfef0bc 100755 --- a/scripts/install +++ b/scripts/install @@ -89,7 +89,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 40a81fc..ef1ecab 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,7 +38,7 @@ 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="cron" --destination="/etc/cron.d/$app"