aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example.mux
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-25 16:20:27 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-25 16:20:27 +0100
commite845a4188b93a31445a780ae11f33286420cb038 (patch)
tree31aecf769c262c1ac639b71bfd381c7e2122f51c /doc/example.mux
parent939abd61fc10cb8df2ecdc6d92764bb3ea5b41a7 (diff)
downloaddabmux-e845a4188b93a31445a780ae11f33286420cb038.tar.gz
dabmux-e845a4188b93a31445a780ae11f33286420cb038.tar.bz2
dabmux-e845a4188b93a31445a780ae11f33286420cb038.zip
Add startupcheck functionality
Diffstat (limited to 'doc/example.mux')
-rw-r--r--doc/example.mux6
1 files changed, 6 insertions, 0 deletions
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 {