From 3413dc6cfa50377ff9f56a946be699ecab6d34cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 2 Nov 2023 16:13:00 +0100 Subject: [PATCH] cleaning --- scripts/change_url | 5 +---- scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 5d55828..e25b156 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -23,10 +23,7 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Setuping a cron..." --weight=1 -path=$new_path -domain=$new_domain - -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/install b/scripts/install index 12333b9..c992b81 100755 --- a/scripts/install +++ b/scripts/install @@ -36,7 +36,7 @@ ynh_add_fpm_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" diff --git a/scripts/upgrade b/scripts/upgrade index 614a519..0d57267 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -50,7 +50,7 @@ ynh_add_fpm_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"