blob: 6532826add50f5f641c27ab094f89ba0234074c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="Starts Reliablity, Availability and Serviceability (RAS) service"
depend() {
need localmount
use logger
}
command="/usr/sbin/rasdaemon"
command_args="--foreground --record"
command_background=true
pidfile=/run/${RC_SVCNAME}.pid
start_post() {
"${command}" --enable >/dev/null 2>&1
}
stop_post() {
"${command}" --disable >/dev/null 2>&1
}
|