aboutsummaryrefslogtreecommitdiff
path: root/net/nqptp/files
diff options
context:
space:
mode:
authorBen Klang <bklang@wirehack.net>2023-12-28 14:40:49 -0500
committerRosen Penev <rosenp@gmail.com>2024-01-02 15:15:00 -0800
commitd8dbf368103a3c73d8b7b5100a56b4d822980e09 (patch)
treea90222e55c18fc5ec4d5013341f7d19a58f01d06 /net/nqptp/files
parent0b95fe757fa23a5cbf092bcdbfa4f1b54e200550 (diff)
nqptp: Add new port nqptp for use with shairport-sync
Signed-off-by: Ben Klang <bklang@wirehack.net>
Diffstat (limited to 'net/nqptp/files')
-rw-r--r--net/nqptp/files/nqptp.init15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/nqptp/files/nqptp.init b/net/nqptp/files/nqptp.init
new file mode 100644
index 000000000..d40ef87dd
--- /dev/null
+++ b/net/nqptp/files/nqptp.init
@@ -0,0 +1,15 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2023 Ben Klang <bklang@wirehack.net>
+
+START=99
+USE_PROCD=1
+
+service_triggers() {
+ procd_add_reload_trigger "nqptp"
+}
+
+start_service() {
+ procd_open_instance
+ procd_set_param command /usr/bin/nqptp
+ procd_close_instance
+}