1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 01:55:32 +03:00

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