-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I want to restart ntpd on return from hibernation. Main reason is to make sure that the pool of servers is correct (can be days later than the previous time), and to ensure correct time, not knowing what ntpd does on hibernation (nothing is logged, so it probably does nothing). So I wonder what is the correct way of achieving this. I'm doing it via a script in "/etc/pm/sleep.d/07time": +++······················· !/bin/bash . /usr/lib/pm-utils/functions . /root/ThingsNeededForBoot/MyScriptDefinitions DATE=`date --rfc-3339=seconds` case "$1" in thaw|resume) $LOGGER -t pm-utils -p daemon.notice "restarting remote clock syncing after hibernating/suspend." systemctl restart ntpd.service ;; *) ;; esac exit $? ·······················++- It works. But I wonder if there is a better way using systemd "somehow". - -- Cheers Carlos E. R. (from 15.4 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHYEARECADYWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCY78iPhgcY2FybG9zLmUu ckBvcGVuc3VzZS5vcmcACgkQtTMYHG2NR9Vz3gCdEbmrJaAYsluBLdTc6WbkxVy/ nsQAn1RUTUx1b83Ihb6il0frpCAPQ7l/ =YAY8 -----END PGP SIGNATURE-----