steampipe service
Steampipe service management.
steampipe service
allows you to run Steampipe as a local service, exposing it as a database endpoint for connection from any Postgres-compatible database client.
Usage
steampipe service [command]
Sub-Commands
Command | Description |
---|---|
restart | Restart Steampipe service |
start | Start Steampipe in service mode |
status | Status of the Steampipe service |
stop | Stop Steampipe service |
Flags
Flag | Applies to | Description |
---|---|---|
--database-listen string | start | Accept database connections from: local (localhost only) or network (open) |
--database-password string | start | Set the steampipe database password for this session. See STEAMPIPE_DATABASE_PASSWORD for additional information |
--database-port int | start | Database service port (default 9193) |
--force | stop , restart | Forces the service to shutdown, releasing all open connections and ports |
--foreground | start | Run the service in the foreground |
--show-password | start , status | View database password for connecting from another machine (default false) |
--all | status | Bypass the --install-dir and print status of all running services |
Examples
Start Steampipe in the background (service mode):
steampipe service start
Start Steampipe on port 9194
steampipe service start --database-port 9194
Start the Steampipe service with a custom password:
steampipe service start --database-password MyCustomPassword
Start Steampipe on localhost
only
steampipe service start --database-listen local
Stop the Steampipe service:
steampipe service stop
Forcefully kill all Steampipe services:
steampipe service stop --force
View Steampipe service status:
steampipe service status
View Steampipe service status and display the database password:
steampipe service status --show-password
View status of all running Steampipe services:
steampipe service status --all
Restart the Steampipe service:
steampipe service restart