Expand description
User-configurable settings for pitchfork.
Settings can be configured in multiple ways (in order of precedence):
- Environment variables (highest priority)
- Project-level
pitchfork.tomlorpitchfork.local.toml(in[settings]section) - User-level
~/.config/pitchfork/config.toml(in[settings]section) - System-level
/etc/pitchfork/config.toml(in[settings]section) - Built-in defaults (lowest priority)
Example pitchfork.toml with settings:
[daemons.myapp]
run = "node server.js"
[settings.general]
autostop_delay = "5m"
log_level = "debug"
[settings.web]
auto_start = trueThis module is generated from settings.toml at build time.
Structs§
- Setting
Meta - Settings
- Settings
General - Settings
General Partial - Settings
Ipc - Settings
IpcPartial - Settings
Partial - Settings
Supervisor - Settings
Supervisor Partial - Settings
Tui - Settings
TuiPartial - Settings
Web - Settings
WebPartial
Statics§
Functions§
- settings
- Get the global settings instance