diff options
author | Pierre Habouzit <madcoder@debian.org> | 2008-03-16 10:38:50 +0000 |
---|---|---|
committer | Pierre Habouzit <madcoder@debian.org> | 2008-03-16 10:38:50 +0000 |
commit | e5805fe441ef8b6114237428642fba184128f582 (patch) | |
tree | 8a84abb342ad3e8de4dbd29eb19ce60489ca4edd | |
parent | 90ec01bea3db1a069ab48709d3c29e3e386a892a (diff) | |
download | lighttpd-e5805fe441ef8b6114237428642fba184128f582.tar.gz |
Chown /compress as well, simplify lighttpd.dirs
-rw-r--r-- | debian/lighttpd.dirs | 7 | ||||
-rw-r--r-- | debian/lighttpd.postinst | 3 |
2 files changed, 2 insertions, 8 deletions
diff --git a/debian/lighttpd.dirs b/debian/lighttpd.dirs index 2b15cfe..b3281a7 100644 --- a/debian/lighttpd.dirs +++ b/debian/lighttpd.dirs @@ -1,14 +1,7 @@ -var var/www -var/log var/log/lighttpd -var/cache -var/cache/lighttpd var/cache/lighttpd/compress -etc -etc/lighttpd/ etc/lighttpd/conf-available etc/lighttpd/conf-enabled -usr usr/sbin usr/lib/cgi-bin diff --git a/debian/lighttpd.postinst b/debian/lighttpd.postinst index 1407a05..8caa1fe 100644 --- a/debian/lighttpd.postinst +++ b/debian/lighttpd.postinst @@ -9,7 +9,8 @@ if [ "$1" = "configure" ]; then cp /usr/share/lighttpd/index.html /var/www/index.lighttpd.html fi mkdir -p /var/run/lighttpd > /dev/null 2> /dev/null - chown www-data:www-data /var/log/lighttpd /var/run/lighttpd /var/cache/lighttpd + chown www-data:www-data /var/log/lighttpd /var/run/lighttpd + chown www-data:www-data /var/cache/lighttpd /var/cache/lighttpd/compress chmod 0750 /var/log/lighttpd /var/run/lighttpd fi |