chiark / gitweb /
Pass log config from systemd to systemd-shutdown
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 15 Feb 2014 23:13:46 +0000 (18:13 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 17 Feb 2014 07:26:22 +0000 (02:26 -0500)
commitb1e90ec515408aec2702522f6f68c4920b56375b
treea00ecbc44f5f762d064219fe0b4c71290cd7d364
parentfb4729006a7174472e8a435b0887e532cd6217fc
Pass log config from systemd to systemd-shutdown

If PID 1 debug logging is enabled, it is nice to keep those settings
when switching to systemd-shutdown binary, independently of whether
this was done through /proc/cmdline options, or through runtime
manipulations.
src/core/main.c
src/core/shutdown.c
src/shared/log.c
src/shared/log.h