-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable systemd messages before starting the installer
Signed-off-by: Kiefer Chang <[email protected]>
- Loading branch information
1 parent
65368b7
commit 75a9597
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,15 @@ EnvironmentFile=-/etc/rancher/installer/env | |
# NOTE: it doesn't work for serial console | ||
ExecStartPre=/usr/bin/setterm --msg off | ||
# Disable systemd messages before starting the installer | ||
# See https://www.freedesktop.org/software/systemd/man/systemd.html#SIGRTMIN+21 | ||
# Send SIGRTMIN+21 | ||
ExecStartPre=/usr/bin/kill -s 55 1 | ||
# Enable systemd messager after stopping the installer | ||
# Send SIGRTMIN+20 | ||
ExecStopPost=/usr/bin/kill -s 54 1 | ||
# clear the original command in [email protected] | ||
ExecStart= | ||
|