mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +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>
This commit is contained in:
committed by
Martin Jansa
parent
2f652ec3dc
commit
caf48f2ea5
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user