summaryrefslogtreecommitdiff
path: root/src/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-13 18:51:30 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-13 18:51:30 +0100
commit3185a36b05d53757a412f847d8c510978b9b00f0 (patch)
tree14e95eaae6c7dc0ecfc4486efbbbb9446e4be0ed /src/load-fragment.c
parente9fbc77c8f6a396ce9432e3791710e30de6e570b (diff)
service: make main pid guessing optional, and reread pid file after reloads
Diffstat (limited to 'src/load-fragment.c')
-rw-r--r--src/load-fragment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/load-fragment.c b/src/load-fragment.c
index ab2bcd2d2f..eaeaadaea4 100644
--- a/src/load-fragment.c
+++ b/src/load-fragment.c
@@ -1854,6 +1854,7 @@ static int load_from_path(Unit *u, const char *path) {
{ "PermissionsStartOnly", config_parse_bool, &u->service.permissions_start_only, "Service" },
{ "RootDirectoryStartOnly", config_parse_bool, &u->service.root_directory_start_only, "Service" },
{ "RemainAfterExit", config_parse_bool, &u->service.remain_after_exit, "Service" },
+ { "GuessMainPID", config_parse_bool, &u->service.guess_main_pid, "Service" },
#ifdef HAVE_SYSV_COMPAT
{ "SysVStartPriority", config_parse_sysv_priority, &u->service.sysv_start_priority, "Service" },
#else