Merge pull request #15022 from keszybz/make-units-remain-after-exit

Make units remain after exit
This commit is contained in:
Yu Watanabe
2020-03-06 21:14:36 +09:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -3406,8 +3406,7 @@ static int exec_child(
our_env,
pass_env,
context->environment,
files_env,
NULL);
files_env);
if (!accum_env) {
*exit_status = EXIT_MEMORY;
return log_oom();

View File

@@ -15,6 +15,7 @@ Before=network-pre.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=@rootlibexecdir@/systemd-network-generator
[Install]

View File

@@ -16,4 +16,5 @@ ConditionPathExists=/dev/tty0
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=@rootlibexecdir@/systemd-vconsole-setup