1
0
mirror of https://github.com/systemd/systemd synced 2024-07-08 20:15:55 +00:00

pid1: shorten advice message

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-08-23 09:22:24 +02:00
parent c1e701e2f1
commit af9d5d507a

View File

@ -843,9 +843,9 @@ int config_parse_kill_mode(
if (m == KILL_NONE)
log_syntax(unit, LOG_WARNING, filename, line, 0,
"Unit configured to use KillMode=none. "
"Unit uses KillMode=none. "
"This is unsafe, as it disables systemd's process lifecycle management for the service. "
"Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. "
"Please update the service to use a safer KillMode=, such as 'mixed' or 'control-group'. "
"Support for KillMode=none is deprecated and will eventually be removed.");
*k = m;