summaryrefslogtreecommitdiffstats
path: root/src/core/service.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-11-17 16:43:08 +0100
committerLennart Poettering <lennart@poettering.net>2017-11-21 11:54:08 +0100
commit3c7416b6cae1006388755598415e1139727b926a (patch)
treedfe4bf644447a413011162c0d918ccd5bb4a1eda /src/core/service.h
parentcgroup-util: move Set* allocation into cg_kernel_controllers() (diff)
downloadsystemd-3c7416b6cae1006388755598415e1139727b926a.tar.xz
systemd-3c7416b6cae1006388755598415e1139727b926a.zip
core: unify common code for preparing for forking off unit processes
This introduces a new function unit_prepare_exec() that encapsulates a number of calls we do in preparation for spawning off some processes in all our unit types that do so. This allows us to neatly unify a bit of code between unit types and shorten our code.
Diffstat (limited to 'src/core/service.h')
-rw-r--r--src/core/service.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/service.h b/src/core/service.h
index a529f48a63..d6be140c54 100644
--- a/src/core/service.h
+++ b/src/core/service.h
@@ -166,8 +166,6 @@ struct Service {
bool forbid_restart:1;
bool start_timeout_defined:1;
- bool reset_accounting:1;
-
char *bus_name;
char *bus_name_owner; /* unique name of the current owner */