After resolving the issue that caused an emergency shutdown, use this procedure to
service status, and then restart the service.
-
Log in to the Control Center master host as root, or as a user with superuser privileges.
-
Check services for the emergency shutdown flag:
for s in $(serviced service list --show-fields ServiceID); \
do serviced service list $s | grep EmergencyShutdown\"; done
"True" indicates an emergency shutdown.
-
Clear the emergency-shutdown flag for a service or the entire application:
serviced service clear-emergency SERVICEID
serviced service clear-emergency APPLICATION_ID
-
Check services for the emergency shutdown flag:
for s in $(serviced service list --show-fields ServiceID); \
do serviced service list $s | grep EmergencyShutdown\"; done
"False" indicates that the flags have been cleared.
-
Start the service:
serviced service start SERVICEID