projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[package] add nginx, patch from Benjamin Cama
[openwrt/svn-archive/archive.git]
/
net
/
nginx
/
files
/
nginx.init
1
#!/bin/sh /etc/rc.common
2
# Copyright (C) 2009 OpenWrt.org
3
4
START
=
50
5
NGINX_BIN
=/
usr
/
sbin
/
nginx
6
7
start
() {
8
mkdir
-p
/
var
/
log
/
nginx
9
mkdir
-p
/
var
/
lib
/
nginx
10
$NGINX_BIN
11
}
12
13
stop
() {
14
$NGINX_BIN
-s
stop
15
}
16
17
reload
() {
18
$NGINX_BIN
-s
reload
19
}
20
21
shutdown
() {
22
$NGINX_BIN
-s
quit
23
}
24