Fix path to copy drop-in crontab from (#19935)
Ralph Meijer committed
Mar 21, 2025 at 21:31 UTC
ffe6fe8d89fddab9bfead6149ad1e31f46d7a6a4
1 file changed
+1
-1
packaging/installer/netdata-updater.sh
+1
-1
@@ -346,7 +346,7 @@ enable_netdata_updater() {
346
"crontab")
347
if [ -d "/etc/cron.d" ]; then
348
[ -f "/etc/cron.d/netdata-updater" ] && rm -f "/etc/cron.d/netdata-updater"
349
- install -p -m 0644 -o 0 -g 0 "${NETDATA_PREFIX}/usr/lib/system/cron/netdata-updater-daily" "/etc/cron.d/netdata-updater-daily"
349
+ install -p -m 0644 -o 0 -g 0 "${NETDATA_PREFIX}/usr/lib/netdata/system/cron/netdata-updater-daily" "/etc/cron.d/netdata-updater-daily"
350
351
info "Auto-updating has been ENABLED through cron, using a crontab at /etc/cron.d/netdata-updater\n"
352
info "If the update process fails and you have email notifications set up correctly for cron on this system, you should receive an email notification of the failure."