mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
20 lines
311 B
Text
20 lines
311 B
Text
#!/sbin/openrc-run
|
|
|
|
description="daemon to receive RAS error tracings"
|
|
|
|
pidfile=/run/"$RC_SVCNAME".pid
|
|
command=/usr/sbin/rasdaemon
|
|
command_args="--foreground --record"
|
|
command_background=true
|
|
|
|
depend() {
|
|
need localmount sysfs
|
|
}
|
|
|
|
start_post() {
|
|
"${command}" --enable
|
|
}
|
|
|
|
stop_post() {
|
|
"${command}" --disable
|
|
}
|