mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user