Add initial APKBUILD for shairport-sync and nqptp

This commit is contained in:
2021-12-16 13:42:50 +00:00
parent 835abdc133
commit f534bdfeb8
4 changed files with 112 additions and 0 deletions

14
nqptp/nqptp.initd Normal file
View 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