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
commit 5197b41fac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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