config: add new 'is_shutting_down' field
@@ -45,6 +45,7 @@ struct flb_config {
int support_mode; /* enterprise support mode ? */
int is_ingestion_active; /* date ingestion active/allowed */
+ int is_shutting_down; /* is the service shutting down ? */
int is_running; /* service running ? */
double flush; /* Flush timeout */
int grace; /* Maximum grace time on shutdown */
