X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fservice.c;h=39e1ab51676ad46831818ee4a334b30615b44fc7;hp=5f7ddfaf14d4db41610993f097e179c69a20445a;hb=3ef63c317481c2b3f1fe39e1b0f130aac3544522;hpb=faa368e3376cb5e3e3c27550fdde652f1d3c9584 diff --git a/src/core/service.c b/src/core/service.c index 5f7ddfaf1..39e1ab516 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -33,6 +33,7 @@ #include "log.h" #include "strv.h" #include "unit-name.h" +#include "unit-printf.h" #include "dbus-service.h" #include "special.h" #include "bus-errors.h" @@ -3836,6 +3837,8 @@ 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"