Skip to content

wtm run daemon restart

This content is for v0.28. Switch to the latest version for up-to-date documentation.

Hand the jobs over to a daemon built from this binary

Stop the running daemon and start one from this binary. This is the way out of a version mismatch: the daemon is what runs the jobs, so an older one keeps serving its own behavior until it is replaced. Detached services keep running across the restart and are picked back up; foreground ones are stopped.

wtm run daemon restart [flags]
# After an upgrade, when a run command reports the daemon's version
wtm run daemon restart
wtm run daemon restart --yes
-h, --help help for restart
--output string Output format: text or json (default "text")
-y, --yes Skip the confirmation
-q, --quiet Silence human output; errors and the exit code are unaffected, and --output json still emits its document
  • wtm run daemon - Inspect, stop or restart the process that runs the jobs