From c8f4d7642b743c79328e10e8fb2d9b58e9f6b999 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 14 Apr 2011 03:55:03 +0200 Subject: manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger around when isolating --- src/swap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/swap.c') 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, -- cgit v1.2.3-54-g00ecf