load-fragment: obsolete OnFailureIsolate=
This commit is contained in:
@@ -214,6 +214,7 @@ Unit.RefuseManualStop, config_parse_bool, 0,
|
||||
Unit.AllowIsolate, config_parse_bool, 0, offsetof(Unit, allow_isolate)
|
||||
Unit.DefaultDependencies, config_parse_bool, 0, offsetof(Unit, default_dependencies)
|
||||
Unit.OnFailureJobMode, config_parse_job_mode, 0, offsetof(Unit, on_failure_job_mode)
|
||||
m4_dnl The following is a legacy alias name for compatibility
|
||||
Unit.OnFailureIsolate, config_parse_job_mode_isolate, 0, offsetof(Unit, on_failure_job_mode)
|
||||
Unit.IgnoreOnIsolate, config_parse_bool, 0, offsetof(Unit, ignore_on_isolate)
|
||||
Unit.IgnoreOnSnapshot, config_parse_warn_compat, DISABLED_LEGACY, 0
|
||||
|
||||
@@ -3955,6 +3955,8 @@ int config_parse_job_mode_isolate(
|
||||
return 0;
|
||||
}
|
||||
|
||||
log_notice("%s is deprecated. Please use OnFailureJobMode= instead", lvalue);
|
||||
|
||||
*m = r ? JOB_ISOLATE : JOB_REPLACE;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user