summaryrefslogtreecommitdiff
path: root/src/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-05-05 10:58:55 +0200
committerLennart Poettering <lennart@poettering.net>2011-05-05 10:58:55 +0200
commit7a6000a68241d23c9f6f6bde47b2cfa9c18189da (patch)
tree76fb3e89d3fa2caf4425e987197d2371563c1b1d /src/load-fragment.c
parenta96257af783f1d2c35a957466856e62ebf82bcad (diff)
unit: make ignoring in snapshots a per unit property, instead of a per unit type property
Diffstat (limited to 'src/load-fragment.c')
-rw-r--r--src/load-fragment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/load-fragment.c b/src/load-fragment.c
index 6ec5090197..f8be4dbaa4 100644
--- a/src/load-fragment.c
+++ b/src/load-fragment.c
@@ -1878,6 +1878,7 @@ static int load_from_path(Unit *u, const char *path) {
{ "DefaultDependencies", config_parse_bool, 0, &u->meta.default_dependencies, "Unit" },
{ "OnFailureIsolate", config_parse_bool, 0, &u->meta.on_failure_isolate, "Unit" },
{ "IgnoreOnIsolate", config_parse_bool, 0, &u->meta.ignore_on_isolate, "Unit" },
+ { "IgnoreOnSnapshot", config_parse_bool, 0, &u->meta.ignore_on_snapshot, "Unit" },
{ "JobTimeoutSec", config_parse_usec, 0, &u->meta.job_timeout, "Unit" },
{ "ConditionPathExists", config_parse_condition_path, CONDITION_PATH_EXISTS, u, "Unit" },
{ "ConditionPathIsDirectory", config_parse_condition_path, CONDITION_PATH_IS_DIRECTORY, u, "Unit" },