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