chiark / gitweb /
ask-password: support passwords without timeouts
[elogind.git] / src / unit.h
index 9b7eb5e854ca3c8bc0c59336f7418734e24e2760..2c5cacd9e31a4b681dbf3b48bff1e8d14cb6195f 100644 (file)
@@ -40,9 +40,6 @@ typedef enum UnitDependency UnitDependency;
 #include "execute.h"
 #include "condition.h"
 
-#define DEFAULT_TIMEOUT_USEC (3*USEC_PER_MINUTE)
-#define DEFAULT_RESTART_USEC (100*USEC_PER_MSEC)
-
 enum UnitType {
         UNIT_SERVICE = 0,
         UNIT_SOCKET,
@@ -210,6 +207,9 @@ struct Meta {
         /* Allow isolation requests */
         bool allow_isolate;
 
+        /* Isolate OnFailure unit */
+        bool on_failure_isolate;
+
         /* Did the last condition check suceed? */
         bool condition_result;