aboutsummaryrefslogtreecommitdiff
path: root/hbakd.initd
diff options
context:
space:
mode:
authorHimbeer <himbeerserverde@gmail.com>2024-02-18 18:24:32 +0100
committerHimbeer <himbeerserverde@gmail.com>2024-02-18 18:24:32 +0100
commit5a6c23d7fded16bd4b69fc6e19a6baa7bebb3528 (patch)
tree5da0ed5d8cb03bc4d62b83f966ae9df86c432ab8 /hbakd.initd
parent2c44c7e152cd3201919dd70d6979d99b0660b9e9 (diff)
add openrc init script
Diffstat (limited to 'hbakd.initd')
-rwxr-xr-xhbakd.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/hbakd.initd b/hbakd.initd
new file mode 100755
index 0000000..9a93683
--- /dev/null
+++ b/hbakd.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+
+name="${RC_SVCNAME}"
+
+command="/usr/bin/hbakd"
+command_args=""
+command_background="yes"
+pidfile="/run/${RC_SVCNAME}.pid"
+
+depend() {
+ need net
+ provide hbakd
+}