mcelog.init-r1 349 B

12345678910111213141516
  1. #!/sbin/openrc-run
  2. # Copyright 1999-2014 Gentoo Foundation
  3. # Distributed under the terms of the GNU General Public License v2
  4. description='Start/stop mcelog in daemon mode'
  5. pidfile="/var/run/mcelog.pid"
  6. command="/usr/sbin/mcelog"
  7. command_args="--daemon --pidfile ${pidfile} ${MCELOG_OPTS}"
  8. depend() {
  9. after udev
  10. need localmount
  11. use logging
  12. }