Administration/Command 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 60

Best Practices

  1. Always use graceful shutdown in production to avoid data loss
  2. Monitor logs during shutdown to ensure all processes terminate cleanly
  3. Use --force only when graceful shutdown fails or in emergency situations
  4. Confirm services are stopped by checking with gig ps

See Also

On this page