~ubuntu-branches/ubuntu/saucy/apache2/saucy

« back to all changes in this revision

Viewing changes to debian/mpm-postinst-threaded

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2004-10-13 19:46:10 UTC
  • Revision ID: james.westby@ubuntu.com-20041013194610-ccvqcz8vflh5zqrm
Tags: 2.0.50-12ubuntu4
Security Release. Patch from upstream for the following:
CAN-2004-0885SSLCypherSuite can be bypassed during renegotiation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -e
 
3
 
 
4
if [ "$1" != "configure" ]; then
 
5
        exit 0
 
6
fi
 
7
 
 
8
#enable cgid, but only on new installs.
 
9
if [ -z "$2" ]; then
 
10
        a2enmod cgid
 
11
fi
 
12
 
 
13
#if this is a new install we just want to start apache2
 
14
#else, we should restart.
 
15
if [ -f "/var/cache/apache2/reload" ]; then
 
16
        type="force-reload"
 
17
else
 
18
        type="start"
 
19
fi
 
20
 
 
21
if [ -x "/etc/init.d/apache2" ]; then
 
22
        update-rc.d apache2 defaults 91 >/dev/null
 
23
        if [ -x /usr/sbin/invoke-rc.d ]; then
 
24
                invoke-rc.d apache2 $type ||true
 
25
        else
 
26
                /etc/init.d/apache2 $type ||true
 
27
        fi
 
28
fi
 
29
 
 
30
exit 0