openct: Fix openct.service warning

Fix following system unsafe warning

/usr/lib/systemd/system/openct.service:10: Unit uses KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. 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.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Zheng Ruoqin 2026-03-26 17:08:49 +08:00 committed by Khem Raj
parent b5bb24b356
commit 8028f542e4
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -7,7 +7,7 @@ EnvironmentFile=-/etc/sysconfig/openct
ExecStart=/usr/sbin/openct-control $OPENCT_OPTIONS init
ExecStop=/usr/sbin/openct-control $OPENCT_OPTIONS shutdown
RemainAfterExit=yes
KillMode=none
KillMode=mixed
[Install]
WantedBy=multi-user.target