Synopsis
Arguments
This command takes no arguments.Examples
Stop the running server
Behavior
- Reads the PID file to identify the running process
- Checks if the process is actually alive
- Sends SIGTERM signal for graceful shutdown
- Waits up to 10 seconds for the process to terminate
- Removes the PID file after successful shutdown
- Cleans up stale PID files if the process is already dead
Error messages
Timeout waiting for shutdown:Exit codes
- 0 - Server stopped successfully or was not running
- 1 - Error occurred (timeout, failed to send signal, etc.)
Platform support
This command is only supported on Unix platforms (Linux, macOS). On other platforms, it will fail with:Related commands
- fishnet start - Start the Fishnet server
- fishnet status - Check if the server is running
- fishnet service - Manage system service integration