Skip to content

Commit af22873

Browse files
committed
Merge pull request alphagov#9 from alphagov/tweak_ntp_task
When resyncing the time use the -B option to ntpdate
2 parents 5f2202e + f13fdfd commit af22873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ntp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ def resync():
1313
forcing a manual intervention.
1414
"""
1515
sudo("service ntp stop")
16-
sudo("ntpdate ntp.ubuntu.com")
16+
sudo("ntpdate -B ntp.ubuntu.com")
1717
sudo("service ntp start")

0 commit comments

Comments
 (0)