addon-chrony/chrony/rootfs/etc/services.d/chronyd/run
Franck Nijhof 45c54a505e
🔨 Re-branding
2020-02-12 21:54:24 +01:00

15 lines
430 B
Text

#!/usr/bin/with-contenv bashio
# ==============================================================================
# Home Assistant Community Add-on: chrony
# Runs chrony daemon
# ==============================================================================
declare -a options
bashio::log.info "Starting chronyd..."
options+=(-d)
if bashio::config.false 'set_system_clock'; then
options+=(-x)
fi
exec chronyd "${options[@]}"