Have rc-local.service output also go to the console

/etc/rc.local often contains status messages which users expect to see during boot.

Rename debian/extra/units/rc-local.service.d/wait-online.conf to debian.conf
and add the Standard{Output,Error} settings there.

LP: #1468102
This commit is contained in:
Martin Pitt 2015-06-26 15:08:27 +02:00
parent fd29e6c41f
commit 7cdf9f651a
3 changed files with 13 additions and 4 deletions

3
debian/changelog vendored
View File

@ -36,6 +36,9 @@ systemd (221-1) UNRELEASED; urgency=medium
systemd.postinst migration code in Ubuntu.
* Revert overly aggressive USB autosuspend udev rules change which broke
various USB keyboards. (Closes: #789723)
* Have rc-local.service output also go to the console. /etc/rc.local often
contains status messages which users expect to see during boot.
(LP: #1468102)
-- Michael Biebl <biebl@debian.org> Thu, 18 Jun 2015 15:37:54 +0200

View File

@ -0,0 +1,10 @@
[Unit]
# not specified by LSB, but has been behaving that way in Debian under SysV
# init and upstart
After=network-online.target
# Often contains status messages which users expect to see on the console
# during boot
[Service]
StandardOutput=journal+console
StandardError=journal+console

View File

@ -1,4 +0,0 @@
[Unit]
# not specified by LSB, but has been behaving that way in Debian under SysV
# init and upstart
After=network-online.target