diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2016-11-04 16:36:58 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-11-23 15:24:41 +0100 |
commit | caf48f2ea58f63b1a91a3d2aeafe98745efe0a50 (patch) | |
tree | 0b304b1d53ffbb1b18d9dfe08f675489388841b4 /meta-oe/recipes-support/edac-utils | |
parent | 2f652ec3dc99e930e73443789b7168d2629d980e (diff) | |
download | meta-openembedded-contrib-caf48f2ea58f63b1a91a3d2aeafe98745efe0a50.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-support/edac-utils')
-rw-r--r-- | meta-oe/recipes-support/edac-utils/edac-utils_git.bb | 1 | ||||
-rw-r--r-- | meta-oe/recipes-support/edac-utils/files/edac.service | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/edac-utils/edac-utils_git.bb b/meta-oe/recipes-support/edac-utils/edac-utils_git.bb index b3ff1cc2c9..2c0914d30a 100644 --- a/meta-oe/recipes-support/edac-utils/edac-utils_git.bb +++ b/meta-oe/recipes-support/edac-utils/edac-utils_git.bb @@ -44,3 +44,4 @@ do_install_append() { } SYSTEMD_SERVICE_${PN} = "edac.service" +SYSTEMD_AUTO_ENABLE_${PN} = "disable" diff --git a/meta-oe/recipes-support/edac-utils/files/edac.service b/meta-oe/recipes-support/edac-utils/files/edac.service index 9f687a8af2..f6b211e91b 100644 --- a/meta-oe/recipes-support/edac-utils/files/edac.service +++ b/meta-oe/recipes-support/edac-utils/files/edac.service @@ -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] |