aboutsummaryrefslogtreecommitdiff
path: root/midr/midr.initd
diff options
context:
space:
mode:
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
+}