add open-rc init script

This commit is contained in:
br0tkasten 2021-06-01 10:22:18 +00:00
parent 96225145c1
commit 860953a375

12
webapp.initrc Executable file
View File

@ -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
}