diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-01-31 00:34:33 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-01-31 01:34:40 -0500 |
commit | 750e550eba362096d56a35104c6a32631aa67b8e (patch) | |
tree | 740e7d55b740e3781c7b9c0110b29812e0a65b17 /CODING_STYLE | |
parent | 8a7a9ceab204fb02fd5d93a765b36b31efeb9beb (diff) |
units: restore Before dependencies for systemd-vconsole-setup.service
When the service is run in the initramfs, it is possible for it to get started
and not be fast enough to exit before the root switch happens. It is started
multiple times (depending on the consoles being detected), and runs
asynchronously, so this is quite likely. It'll then get killed by killall(),
and systemd will consider the service failed. To avoid all this, just wait
for the service to terminate on it's own.
Before=initrd-switch-root.target should be good for the initramfs, and
Before=shutdown.tuarget should be good for the real system, although it's
unlikely to make any difference there.
Diffstat (limited to 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions