/etc/apm/event.d/01chrony is in chrony 1.30-2+deb8u2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
# Placed in /etc/apm/event.d by the chrony package at the instruction of
# the apmd maintainer. If you don't have apm and don't intend to install
# apmd you may remove it. It needs to run after 00hwclock but before any
# other scripts.
[ -x /usr/sbin/chronyd ] || exit 0
if [ "$1" = suspend ]; then
invoke-rc.d chrony stop
elif [ "$1" = standby ]; then
invoke-rc.d chrony stop
elif [ "$1" = resume ]; then
invoke-rc.d chrony start
fi
|