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:
commit
5197b41fac
@ -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();
|
||||
|
@ -15,6 +15,7 @@ Before=network-pre.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=@rootlibexecdir@/systemd-network-generator
|
||||
|
||||
[Install]
|
||||
|
@ -16,4 +16,5 @@ ConditionPathExists=/dev/tty0
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=@rootlibexecdir@/systemd-vconsole-setup
|
||||
|
Loading…
Reference in New Issue
Block a user