Administration/Command Line

Restart Command

The gig restart command is used to restart the Gigantics server and all related services.

Usage

gig restart [options]

Description

The restart command stops all running Gigantics services and then starts them again. This is useful for applying configuration changes or recovering from certain error states.

Common Options

  • --graceful - Perform a graceful restart allowing current operations to complete
  • --force - Force restart immediately without waiting for operations to complete
  • --config [path] - Specify a configuration file to use after restart

Examples

# Restart all services
gig restart
 
# Perform a graceful restart
gig restart --graceful
 
# Force immediate restart
gig restart --force

Best Practices

  1. Use --graceful option in production environments to avoid data loss
  2. Ensure configuration files are correct before restarting
  3. Monitor logs after restart to confirm services start properly
  4. Schedule restarts during maintenance windows in production

See Also

On this page