From 71645acac27da55d510f2e4d61cc61b4e5b93035 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 19 Jan 2013 01:01:41 +0100 Subject: unit: optionally allow making cgroup attribute changes persistent --- src/core/service.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/service.c') diff --git a/src/core/service.c b/src/core/service.c index bc41617bf7..ee5a1a41e5 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -3832,13 +3832,15 @@ DEFINE_STRING_TABLE_LOOKUP(start_limit_action, StartLimitAction); const UnitVTable service_vtable = { .object_size = sizeof(Service), - .exec_context_offset = offsetof(Service, exec_context), .sections = "Unit\0" "Service\0" "Install\0", + .exec_context_offset = offsetof(Service, exec_context), + .exec_section = "Service", + .init = service_init, .done = service_done, .load = service_load, -- cgit v1.2.3-54-g00ecf