~ubuntu-branches/debian/squeeze/nginx/squeeze

« back to all changes in this revision

Viewing changes to auto/init

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2009-05-31 18:38:56 UTC
  • mfrom: (1.1.10 upstream) (4.1.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20090531183856-3xhvf6wd0bw5556i
Tags: 0.7.59-1
* New upstream release, first in Debian for the 0.7 branch. Among other
  issues, it also fixes the problem with wildcard dns names used with SSL.
  (Closes: #515904)
* debian/watch: updated.
* debian/postinst: fixed a bashism. (Closes: #507913)
* debian/conf/nginx.conf: removed default_type. (Closes: #509390)
* debian/control: updated Standards-Version to 3.8.1, no changes needed.
* debian/NEWS.Debian: documented the issues with
  server_names_hash_bucket_size. (Closes: #524785)

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
cat << END > Makefile
45
45
 
46
 
build:
47
 
        \$(MAKE) -f $NGX_MAKEFILE
48
 
 
49
 
install:
50
 
        \$(MAKE) -f $NGX_MAKEFILE install
 
46
default:        build
51
47
 
52
48
clean:
53
49
        rm -rf Makefile $NGX_OBJS
54
 
 
55
 
upgrade:
56
 
        $NGX_SBIN_PATH -t
57
 
 
58
 
        kill -USR2 \`cat $NGX_PID_PATH\`
59
 
        sleep 1
60
 
        test -f $NGX_PID_PATH.oldbin
61
 
 
62
 
        kill -QUIT \`cat $NGX_PID_PATH.oldbin\`
63
 
 
64
 
upgrade1:
65
 
        # upgrade 0.1.x to 0.2+
66
 
 
67
 
        $NGX_SBIN_PATH -t
68
 
 
69
 
        cp $NGX_PID_PATH $NGX_PID_PATH.oldbin
70
 
 
71
 
        kill -USR2 \`cat $NGX_PID_PATH\`
72
 
        sleep 1
73
 
        test -f $NGX_PID_PATH.oldbin
74
 
 
75
 
        cp $NGX_PID_PATH $NGX_PID_PATH.newbin
76
 
 
77
 
        kill -QUIT \`cat $NGX_PID_PATH.oldbin\`
78
50
END