mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 09:57:31 +00:00
edac-utils: fix systemd service
Fix edac-utils systemd service file so that `systemctl stop edac' doesn't fail. Remove the ExecStop line as there's no '--unload' option for edac-ctl. Also, disable edac service by default. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit caf48f2ea58f63b1a91a3d2aeafe98745efe0a50) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
54b566a00a
commit
ebc3e16c7d
@ -44,3 +44,4 @@ do_install_append() {
|
||||
}
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "edac.service"
|
||||
SYSTEMD_AUTO_ENABLE_${PN} = "disable"
|
||||
|
||||
@ -4,7 +4,6 @@ Description=Initialize EDAC Drivers For Machine Hardware
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=@SBINDIR@/edac-ctl --register-labels
|
||||
ExecStop=@SBINDIR@/edac-ctl --unload
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user