pitchfork restart
- Usage:
pitchfork restart [FLAGS] [ID]…
Restarts a daemon (stops then starts it)
Equivalent to 'start --force' - stops the daemon (SIGTERM) then starts it again from the pitchfork.toml configuration with dependency resolution.
Examples: pitchfork restart api Restart a single daemon pitchfork restart api worker Restart multiple daemons pitchfork restart --all Restart all running daemons pitchfork restart -l Restart all local daemons in pitchfork.toml pitchfork restart -g Restart all global daemons in config.toml pitchfork restart api --delay 5 Wait 5 seconds for daemon to be ready
Arguments
[ID]…
ID of the daemon(s) to restart
Flags
-a --all
Restart all running daemons
-l --local
Restart all local daemons in pitchfork.toml
-g --global
Restart all global daemons in ~/.config/pitchfork/config.toml and /etc/pitchfork/config.toml
--delay <DELAY>
Delay in seconds before considering daemon ready (default: 3 seconds)
--output <OUTPUT>
Wait until output matches this regex pattern before considering daemon ready
--http <HTTP>
Wait until HTTP endpoint returns 2xx status before considering daemon ready
--port <PORT>
Wait until TCP port is listening before considering daemon ready
--cmd <CMD>
Shell command to poll for readiness (exit code 0 = ready)
-q --quiet
Suppress startup log output
