summaryrefslogtreecommitdiff
path: root/src/swap.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-14 03:55:03 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-16 02:03:34 +0200
commitc8f4d7642b743c79328e10e8fb2d9b58e9f6b999 (patch)
treebb1acede258a78bbbb485dc3fe99c4b27a72916d /src/swap.c
parentcfcab435088205b520d244e6111e33b98579181d (diff)
manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger around when isolating
Diffstat (limited to 'src/swap.c')
-rw-r--r--src/swap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/swap.c b/src/swap.c
index c32f60810c..ef001a98bf 100644
--- a/src/swap.c
+++ b/src/swap.c
@@ -90,6 +90,8 @@ static void swap_unset_proc_swaps(Swap *s) {
s->timer_watch.type = WATCH_INVALID;
s->control_command_id = _MOUNT_EXEC_COMMAND_INVALID;
+
+ s->meta.ignore_on_isolate = true;
}
static void swap_unwatch_control_pid(Swap *s) {
@@ -1339,7 +1341,6 @@ const UnitVTable swap_vtable = {
.no_alias = true,
.no_instances = true,
- .no_isolate = true,
.show_status = true,
.init = swap_init,