mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +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 caf48f2ea5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
54b566a00a
commit
ebc3e16c7d
@@ -44,3 +44,4 @@ do_install_append() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = "edac.service"
|
SYSTEMD_SERVICE_${PN} = "edac.service"
|
||||||
|
SYSTEMD_AUTO_ENABLE_${PN} = "disable"
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ Description=Initialize EDAC Drivers For Machine Hardware
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=@SBINDIR@/edac-ctl --register-labels
|
ExecStart=@SBINDIR@/edac-ctl --register-labels
|
||||||
ExecStop=@SBINDIR@/edac-ctl --unload
|
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user