Skip to content

Commit

Permalink
DLPX-84565 telegraf.service restarts after upgrade when it should be …
Browse files Browse the repository at this point in the history
  • Loading branch information
palash-gandhi committed Sep 26, 2023
1 parent 0bdff1c commit 0c989c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion upgrade/upgrade-scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ function mask_service() {
chroot "/var/lib/machines/$container" systemctl mask "$svc" ||
die "failed to mask '$svc' in container '$container'"
else
systemctl mask "$svc" || die "failed to mask '$svc'"
systemctl mask --now "$svc" || die "failed to mask '$svc'"
fi
}

Expand Down Expand Up @@ -483,5 +483,6 @@ function fix_and_migrate_services() {
snmpd.service
systemd-timesyncd.service
td-agent.service
telegraf.service
EOF
}

0 comments on commit 0c989c7

Please sign in to comment.