do not start instances with invalid config
[project/procd.git] / instance.c
index a1604f6..8ed53e3 100644 (file)
@@ -19,6 +19,8 @@ void
 instance_start(struct service_instance *in)
 {
        in->restart = false;
+       if (!in->valid)
+               return;
 }
 
 static void