~ubuntu-branches/ubuntu/hardy/lighttpd/hardy

« back to all changes in this revision

Viewing changes to debian/lighttpd.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Michele Angrisano
  • Date: 2007-07-28 20:33:22 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070728203322-ut5ym6udh0xjxkma
Tags: 1.4.16-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add fam/gamin stat cache engine support.
  - Replace Depends: on perl with Depends: on libterm-readline-perl-perl.
  - Make sure that upgrades succeed, even if we can't restart lighttpd.
  - Clean environment in init.d script.
  - Update maintainer field in debian/control.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
        fi
11
11
        chown www-data:www-data /var/log/lighttpd
12
12
        chmod 0750 /var/log/lighttpd
 
13
        chown www-data:www-data -R /var/cache/lighttpd
13
14
fi
14
15
 
15
16
if [ -x "/etc/init.d/lighttpd" ]; then
20
21
                /etc/init.d/lighttpd start || true
21
22
        fi
22
23
fi
 
24
 
 
25
 exit 0
23
26
 
24
27
exit 0