From e845a4188b93a31445a780ae11f33286420cb038 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 25 Nov 2019 16:20:27 +0100 Subject: Add startupcheck functionality --- doc/example.mux | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/example.mux b/doc/example.mux index be45344..83dbfbb 100644 --- a/doc/example.mux +++ b/doc/example.mux @@ -65,6 +65,12 @@ general { ; If the port is zero, or the line commented, the server ; is not started. managementport 12720 + + ; At startup, run the command and abort if is it not returning 0. + ; This may be a script. Useful for checking if the NTP client on your + ; system has had time to setup the clock. + ;startupcheck "chronyc waitsync 10 0.01" + ;startupcheck "ntp-wait -fv" } remotecontrol { -- cgit v1.2.3