Qi.Chen@windriver.com ebc3e16c7d 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>
2016-11-29 08:22:21 -08:00

11 lines
193 B
Desktop File

[Unit]
Description=Initialize EDAC Drivers For Machine Hardware
[Service]
Type=oneshot
ExecStart=@SBINDIR@/edac-ctl --register-labels
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target