edac-utils: fix systemd service
PATCH 1/1 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 <[email protected]>
--- meta-oe/recipes-support/edac-utils/edac-utils_git.bb | 1 + meta-oe/recipes-support/edac-utils/files/edac.service | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/edac-utils/edac-utils_git.bb +1 -0
@@ -44,3 +44,4 @@ do_install_append() { } SYSTEMD_SERVICE_${PN} = "edac.service" +SYSTEMD_AUTO_ENABLE_${PN} = "disable"
meta-oe/recipes-support/edac-utils/files/edac.service +0 -1
@@ -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]
Signature · 1 line
2.8.3