AdministrationCommand 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 --forceBest Practices
- Use
--gracefuloption in production environments to avoid data loss - Ensure configuration files are correct before restarting
- Monitor logs after restart to confirm services start properly
- Schedule restarts during maintenance windows in production