0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-04 21:45:31 +00:00

Fix path to copy drop-in crontab from ()

This commit is contained in:
Ralph Meijer 2025-03-21 21:31:16 +01:00 committed by GitHub
parent de88c30dca
commit ffe6fe8d89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -346,7 +346,7 @@ enable_netdata_updater() {
"crontab")
if [ -d "/etc/cron.d" ]; then
[ -f "/etc/cron.d/netdata-updater" ] && rm -f "/etc/cron.d/netdata-updater"
install -p -m 0644 -o 0 -g 0 "${NETDATA_PREFIX}/usr/lib/system/cron/netdata-updater-daily" "/etc/cron.d/netdata-updater-daily"
install -p -m 0644 -o 0 -g 0 "${NETDATA_PREFIX}/usr/lib/netdata/system/cron/netdata-updater-daily" "/etc/cron.d/netdata-updater-daily"
info "Auto-updating has been ENABLED through cron, using a crontab at /etc/cron.d/netdata-updater\n"
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."