# platform = multi_platform_all
# reboot = false
# strategy = enable
# complexity = low
# disruption = low

var_timesync_service='(bash-populate var_timesync_service)'


SYSTEMCTL_EXEC='/usr/bin/systemctl'

if [ $var_timesync_service == chronyd ]; then
  "$SYSTEMCTL_EXEC" unmask 'chrony.service'
  "$SYSTEMCTL_EXEC" start 'chrony.service'
  "$SYSTEMCTL_EXEC" enable 'chrony.service'
fi
