Commit 138be12c authored by Bernhard Schmidt's avatar Bernhard Schmidt

Add trigger to restart ntp on leapfile update

parent a471a1ed
......@@ -30,6 +30,12 @@ if [ "$1" = "configure" ]; then
fi
fi
if [ "$1" = "triggered" ]; then
# The default configuration uses a leapfile from tzdata
# restart ntp on changes
invoke-rc.d ntp try-restart || true
fi
installinit_error() {
exit $?
}
......
# Used as leapfile in default configuration
interest-noawait /usr/share/zoneinfo/leap-seconds.list
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment