Add missing (new) service state strings
Also, reorder to match state enum order.
@@ -363,18 +363,21 @@ static inline char *svc_status(svc_t *svc)
return "stopping";
}
- case SVC_PAUSED_STATE:
- return "paused";
-
case SVC_CLEANUP_STATE:
return "cleanup";
case SVC_SETUP_STATE:
return "setup";
+ case SVC_PAUSED_STATE:
+ return "paused";
+
case SVC_WAITING_STATE:
return "waiting";
+ case SVC_STARTING_STATE:
+ return "starting";
+
case SVC_RUNNING_STATE:
return "running";
