Start on Boot
Configure pitchfork to start automatically when your system boots.
Enable Boot Start
bash
pitchfork boot enableThis registers pitchfork to start automatically when you log in.
Disable Boot Start
bash
pitchfork boot disableCheck Status
bash
pitchfork boot statusConfigure Boot Daemons
Add boot_start = true to daemons you want to start at boot. These should be in your global config file (~/.config/pitchfork/config.toml):
toml
[daemons.postgres]
run = "postgres -D /usr/local/var/postgres"
boot_start = true
[daemons.redis]
run = "redis-server"
boot_start = true
[daemons.my-app]
run = "npm start"
boot_start = false # Won't start at bootHow It Works
| Platform | Method |
|---|---|
| macOS | LaunchAgents |
| Linux | systemd user services |
| Windows | Registry entries |
When boot start is enabled:
- System login triggers the pitchfork supervisor
- Supervisor starts all daemons with
boot_start = true - Daemons run in the background
Typical Setup
Enable boot start:
bashpitchfork boot enableAdd daemons to global config (
~/.config/pitchfork/config.toml):toml[daemons.postgres] run = "postgres -D /usr/local/var/postgres" boot_start = true ready_output = "ready to accept connections"Verify it's working:
bashpitchfork boot status pitchfork list
