AdministrationCommand Line
Stop Command
The gig stop command is used to stop all running Gigantics services.
Usage
gig stop [options]Description
The stop command gracefully shuts down all Gigantics services including the web server and job workers. It sends termination signals to all processes and waits for them to complete their current operations.
Common Options
--force- Force stop all services immediately without graceful shutdown--timeout [seconds]- Specify timeout for graceful shutdown (default: 30 seconds)
Examples
# Stop all services gracefully
gig stop
# Force immediate stop
gig stop --force
# Stop with custom timeout
gig stop --timeout 60Best Practices
- Always use graceful shutdown in production to avoid data loss
- Monitor logs during shutdown to ensure all processes terminate cleanly
- Use
--forceonly when graceful shutdown fails or in emergency situations - Confirm services are stopped by checking with
gig ps