gentoo-ebuilds/sys-apps/edac-utils/files/edac.service
Sam James afcc82fb97
sys-apps/edac-utils: install init script/systemd unit, CC fix
1) The previous revision mentioned udev but the udev rule
was dropped upstream quite some time ago as it was found
to be unreliable.

We now install an init script and a systemd unit to load
the edac rules. The simple systemd unit was nabbed from Fedora.

2) We now call eautoreconf in order to refesh libtool and friends
to fix calling gcc directly.

Closes: https://bugs.gentoo.org/725540
Signed-off-by: Sam James <sam@gentoo.org>
2021-08-02 04:17:09 +01:00

11 lines
230 B
Desktop File

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