chiark / gitweb /
units: isolate emergency.target instead of emergency.service when we fail to mount...
[elogind.git] / src / path.h
index 87fa0d1732fc8415f3a411ff72d45ea0962dfb6e..8ba0ce6890f380e93cb5f9ae7644d8a3f8754f2f 100644 (file)
@@ -31,7 +31,7 @@ typedef enum PathState {
         PATH_DEAD,
         PATH_WAITING,
         PATH_RUNNING,
-        PATH_MAINTENANCE,
+        PATH_FAILED,
         _PATH_STATE_MAX,
         _PATH_STATE_INVALID = -1
 } PathState;
@@ -69,6 +69,10 @@ struct Path {
         PathState state, deserialized_state;
 
         bool failure;
+        bool inotify_triggered;
+
+        bool make_directory;
+        mode_t directory_mode;
 };
 
 void path_unit_notify(Unit *u, UnitActiveState new_state);