mirror of
https://github.com/systemd/systemd.git
synced 2024-12-04 15:53:41 +08:00
service: change default std output to inherit
This commit is contained in:
parent
0a494f1ff3
commit
934da03599
@ -271,8 +271,7 @@
|
|||||||
<option>kmsg</option>,
|
<option>kmsg</option>,
|
||||||
<option>kmsg-console</option>. If the
|
<option>kmsg-console</option>. If the
|
||||||
argument is omitted it defaults to
|
argument is omitted it defaults to
|
||||||
<option>null</option>
|
<option>inherit</option>.</para></listitem>
|
||||||
resp. <option>inherit</option>.</para></listitem>
|
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
@ -73,7 +73,7 @@ static bool arg_sysv_console = true;
|
|||||||
static bool arg_mount_auto = true;
|
static bool arg_mount_auto = true;
|
||||||
static bool arg_swap_auto = true;
|
static bool arg_swap_auto = true;
|
||||||
static char **arg_default_controllers = NULL;
|
static char **arg_default_controllers = NULL;
|
||||||
static ExecOutput arg_default_std_output = EXEC_OUTPUT_NULL;
|
static ExecOutput arg_default_std_output = EXEC_OUTPUT_INHERIT;
|
||||||
static ExecOutput arg_default_std_error = EXEC_OUTPUT_INHERIT;
|
static ExecOutput arg_default_std_error = EXEC_OUTPUT_INHERIT;
|
||||||
|
|
||||||
static FILE* serialization = NULL;
|
static FILE* serialization = NULL;
|
||||||
|
@ -214,8 +214,6 @@ int manager_new(ManagerRunningAs running_as, Manager **_m) {
|
|||||||
m->exit_code = _MANAGER_EXIT_CODE_INVALID;
|
m->exit_code = _MANAGER_EXIT_CODE_INVALID;
|
||||||
m->pin_cgroupfs_fd = -1;
|
m->pin_cgroupfs_fd = -1;
|
||||||
|
|
||||||
m->default_std_output = EXEC_OUTPUT_NULL;
|
|
||||||
|
|
||||||
#ifdef HAVE_AUDIT
|
#ifdef HAVE_AUDIT
|
||||||
m->audit_fd = -1;
|
m->audit_fd = -1;
|
||||||
#endif
|
#endif
|
||||||
|
@ -21,5 +21,5 @@
|
|||||||
#MountAuto=yes
|
#MountAuto=yes
|
||||||
#SwapAuto=yes
|
#SwapAuto=yes
|
||||||
#DefaultControllers=cpu
|
#DefaultControllers=cpu
|
||||||
#DefaultStandardOutput=null
|
#DefaultStandardOutput=inherit
|
||||||
#DefaultStandardError=inherit
|
#DefaultStandardError=inherit
|
||||||
|
Loading…
Reference in New Issue
Block a user