remove a broken 0.1.x to 0.2+ upgrade procedure
This commit is contained in:
parent
68229407ec
commit
b126ba528d
1 changed files with 0 additions and 15 deletions
15
auto/install
15
auto/install
|
@ -143,20 +143,5 @@ upgrade:
|
|||
sleep 1
|
||||
test -f $NGX_PID_PATH.oldbin
|
||||
|
||||
kill -QUIT \`cat $NGX_PID_PATH.oldbin\`
|
||||
|
||||
upgrade1:
|
||||
# upgrade 0.1.x to 0.2+
|
||||
|
||||
$NGX_SBIN_PATH -t
|
||||
|
||||
cp $NGX_PID_PATH $NGX_PID_PATH.oldbin
|
||||
|
||||
kill -USR2 \`cat $NGX_PID_PATH\`
|
||||
sleep 1
|
||||
test -f $NGX_PID_PATH.oldbin
|
||||
|
||||
cp $NGX_PID_PATH $NGX_PID_PATH.newbin
|
||||
|
||||
kill -QUIT \`cat $NGX_PID_PATH.oldbin\`
|
||||
END
|
||||
|
|
Loading…
Reference in a new issue