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 (#19935)
This commit is contained in:
parent
de88c30dca
commit
ffe6fe8d89
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue