aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lighttpd/lighttpd.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lighttpd/lighttpd.install')
-rw-r--r--testing/lighttpd/lighttpd.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/lighttpd/lighttpd.install b/testing/lighttpd/lighttpd.install
new file mode 100644
index 0000000000..a18563e303
--- /dev/null
+++ b/testing/lighttpd/lighttpd.install
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+
+case $1 in
+ pre_install)
+ adduser -H -h /var/www/localhost/htdocs -s /bin/false -D \
+ lighttpd 2>/dev/null
+ ;;
+ post_install)
+ chown lighttpd:lighttp /var/*/lighttpd
+ ;;
+esac
+
+exit 0