summaryrefslogtreecommitdiff
path: root/package/lighttpd/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2011-12-03 12:49:43 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2011-12-03 12:49:43 +0100
commite64cf6787f58bdba5f68ad66ac1e77745315947b (patch)
tree05b688baaddc6f44fb45f62432c9435db95a5146 /package/lighttpd/files
parentc2a1a43e41a44090dac2a7eaa73c6fc8f50951a6 (diff)
better defaults
Diffstat (limited to 'package/lighttpd/files')
-rw-r--r--package/lighttpd/files/lighttpd.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/lighttpd/files/lighttpd.init b/package/lighttpd/files/lighttpd.init
index 8e2d897af..fa2b203ee 100644
--- a/package/lighttpd/files/lighttpd.init
+++ b/package/lighttpd/files/lighttpd.init
@@ -10,7 +10,7 @@ autostart)
exec sh $0 start
;;
start)
- [ ! -d /srv/www ] && echo "You need to create /srv/www/htdocs"
+ [ ! -d /srv/www ] && echo "You need to create /srv/www/htdocs" && exit 1
mkdir -p /var/log/lighttpd && chown lighttpd.lighttpd /var/log/lighttpd
/usr/sbin/lighttpd $lighttpd_flags
;;