add open-rc init script
This commit is contained in:
parent
96225145c1
commit
860953a375
12
webapp.initrc
Executable file
12
webapp.initrc
Executable 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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user