From 279f836dadda8a7f6c9c6cebe2bff04b48806c3a Mon Sep 17 00:00:00 2001 From: Limezy Date: Fri, 17 May 2024 11:50:03 +0700 Subject: [PATCH] Update cron --- scripts/upgrade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index bec3360..70a8806 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,6 +51,11 @@ ynh_add_nginx_config ynh_add_systemd_config +# Update cron in case of changes +ynh_add_config --template="cron" --destination="/etc/cron.d/$app" +chown root: "/etc/cron.d/$app" +chmod 644 "/etc/cron.d/$app" + yunohost service add $app --description="WebUI for BorgBackup" --log="/var/log/$app/$app.log" #=================================================