]> git.ipfire.org Git - people/ms/systemd.git/blobdiff - job.c
manager: introduce 'isolate' job mode which kills all units but the requested one
[people/ms/systemd.git] / job.c
diff --git a/job.c b/job.c
index 3210bb42c28d9ea10dcbae0d8fef68e7a6acd638..f35c91c4df28aa4e75707e7f4533d3dfebb94b4a 100644 (file)
--- a/job.c
+++ b/job.c
@@ -577,7 +577,8 @@ DEFINE_STRING_TABLE_LOOKUP(job_type, JobType);
 
 static const char* const job_mode_table[_JOB_MODE_MAX] = {
         [JOB_FAIL] = "fail",
-        [JOB_REPLACE] = "replace"
+        [JOB_REPLACE] = "replace",
+        [JOB_ISOLATE] = "isolate"
 };
 
 DEFINE_STRING_TABLE_LOOKUP(job_mode, JobMode);