Add initial APKBUILD for shairport-sync and nqptp
This commit is contained in:
14
nqptp/nqptp.initd
Normal file
14
nqptp/nqptp.initd
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
name="nqptp"
|
||||
description="A daemon that monitors timing data from any PTP clocks"
|
||||
command="/usr/bin/nqptp"
|
||||
command_background="yes"
|
||||
|
||||
pidfile="/run/$RC_SVCNAME.pid"
|
||||
|
||||
depend() {
|
||||
need net localmount
|
||||
}
|
||||
|
||||
# ToDO: run as user nqptp: setcap 'cap_net_bind_service=+ep' /usr/local/bin/nqptp
|
Reference in New Issue
Block a user