initial import
This commit is contained in:
20
sndio/sndiod.initd
Normal file
20
sndio/sndiod.initd
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2019 Hyperbola Project
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
description="sndio service"
|
||||
|
||||
command="/usr/sbin/sndiod"
|
||||
command_args="-dd $SNDIOD_ARGS"
|
||||
command_background="yes"
|
||||
pidfile="/run/sndiod/sndiod.pid"
|
||||
retry="TERM/10/KILL/5"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
after bootmisc modules isapnp coldplug hotplug alsasound
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath --directory --mode 0700 /run/sndiod
|
||||
}
|
||||
Reference in New Issue
Block a user