pid1: shorten advice message

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2022-08-23 09:31:12 +02:00
parent c1e701e2f1
commit af9d5d507a
+2 -2
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;