mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +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:
parent
b5bb24b356
commit
8028f542e4
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user