mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-25 23:11:30 +03:00
20 lines
200 B
Plaintext
20 lines
200 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
export PHP_FCGI_CHILDREN=''
|
||
|
PORT=1026
|
||
|
BIN=/usr/sbin/php
|
||
|
|
||
|
case $1 in
|
||
|
start)
|
||
|
$BIN -b $PORT &
|
||
|
;;
|
||
|
stop)
|
||
|
kill `pidof php`
|
||
|
;;
|
||
|
*)
|
||
|
echo "usage: $0 (start|stop)"
|
||
|
exit 1
|
||
|
esac
|
||
|
|
||
|
exit $?
|