Synopsis
Arguments
Path to the configuration file (fishnet.toml). If not specified, Fishnet looks for the config in the default location.
Examples
Start with default configuration
Start with custom configuration
Behavior
- Creates a PID file to track the running process
- Loads configuration from the specified path or default location
- Opens the encrypted credential vault (requires master password)
- Initializes spend tracking, audit logging, and alert stores
- Starts HTTP server on configured host:port (default: 127.0.0.1:3777)
- Watches configuration file for changes and reloads automatically
- Responds to SIGTERM and SIGINT for graceful shutdown
Error messages
Already running:fishnet init first.
Failed to bind port:
Exit codes
- 0 - Server started successfully (or stopped gracefully via signal)
- 1 - Error occurred (already running, failed to bind, vault unlock failed, etc.)
Environment variables
FISHNET_HOST- Override the server bind host (default: 127.0.0.1)FISHNET_PORT- Override the server bind port (default: 3777)FISHNET_MASTER_PASSWORD- Master password for vault decryptionFISHNET_STORE_DERIVED_KEY_IN_KEYCHAIN- Store derived key in system keychain (macOS only)
Related commands
- fishnet stop - Stop the running server
- fishnet status - Check server status
- fishnet init - Initialize Fishnet for first use