Merge pull request #17031 from poettering/path-start-limit

core: propagate start limit hit from triggered unit to path unit
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-09-14 21:51:39 +02:00
committed by GitHub
8 changed files with 31 additions and 17 deletions
+2 -2
View File
@@ -9,7 +9,7 @@
* when other criteria (cpu weight, nice level) are identical.
* In this case service units have the highest priority. */
typedef enum UnitType {
UNIT_SERVICE = 0,
UNIT_SERVICE,
UNIT_MOUNT,
UNIT_SWAP,
UNIT_SOCKET,
@@ -25,7 +25,7 @@ typedef enum UnitType {
} UnitType;
typedef enum UnitLoadState {
UNIT_STUB = 0,
UNIT_STUB,
UNIT_LOADED,
UNIT_NOT_FOUND, /* error condition #1: unit file not found */
UNIT_BAD_SETTING, /* error condition #2: we couldn't parse some essential unit file setting */