diff --git a/webapp.initrc b/webapp.initrc new file mode 100755 index 0000000..e43f249 --- /dev/null +++ b/webapp.initrc @@ -0,0 +1,12 @@ +#!/sbin/openrc-run + +name="busybox $SVCNAME" +command="/opt/webapp/app.sh" +command_args="" +pidfile="/var/run/$SVCNAME.pid" + +depend() { + need net + use dns +} +