aboutsummaryrefslogtreecommitdiff
path: root/midr/midr.initd
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-25 00:53:49 +0000
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-25 00:53:49 +0000
commit686604647cfc3df98eb94b759166b2b1c83db7d8 (patch)
tree5dc2c57b5a4f992b795073906eadc710eb6ae881 /midr/midr.initd
downloadapkbuilds-686604647cfc3df98eb94b759166b2b1c83db7d8.tar.gz
apkbuilds-686604647cfc3df98eb94b759166b2b1c83db7d8.tar.bz2
apkbuilds-686604647cfc3df98eb94b759166b2b1c83db7d8.zip
feat: Add initial commit to build midr
Diffstat (limited to 'midr/midr.initd')
-rw-r--r--midr/midr.initd16
1 files changed, 16 insertions, 0 deletions
diff --git a/midr/midr.initd b/midr/midr.initd
new file mode 100644
index 0000000..0dc706c
--- /dev/null
+++ b/midr/midr.initd
@@ -0,0 +1,16 @@
+#!/sbin/openrc-run
+
+# Sample init.d file for alpine linux.
+
+name=
+command="/usr/sbin/$name"
+command_args="$sample_opts"
+command_background="yes"
+
+start_stop_daemon_args="--user $sample_user:$sample_group"
+pidfile="/run/$name.pid"
+
+depend() {
+ need net
+ after firewall
+}