Skip to content

Commit

Permalink
DLPX-93479 ntpsec-rotate-stats.timer should follow ntpsec.service
Browse files Browse the repository at this point in the history
  • Loading branch information
palash-gandhi committed Feb 25, 2025
1 parent 4747760 commit 305f402
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
- delphix-fluentd.service
- delphix-masking.service
- ntpsec.service
- ntpsec-rotate-stats.timer
- snmpd.service

#
Expand Down
1 change: 1 addition & 0 deletions upgrade/upgrade-scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ function fix_and_migrate_services() {
nfs-mountd.service
nginx.service
ntpsec.service
ntpsec-rotate-stats.timer
postgresql.service
rpc-statd.service
rpcbind.service
Expand Down
2 changes: 1 addition & 1 deletion upgrade/upgrade-scripts/execute
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ if [[ -f "/etc/ntp/ntp.conf" ]]; then
cp /etc/ntp/ntp.conf /etc/ntpsec/ntp.conf ||
die "failed to copy /etc/ntp/ntp.conf to /etc/ntpsec/ntp.conf"
if [[ "$(systemctl is-enabled ntp.service)" == enabled ]]; then
systemctl enable ntpsec.service
systemctl enable ntpsec.service ntpsec-rotate-stats.timer
fi
fi

Expand Down

0 comments on commit 305f402

Please sign in to comment.