diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2011-12-03 12:49:43 +0100 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2011-12-03 12:49:43 +0100 |
commit | e64cf6787f58bdba5f68ad66ac1e77745315947b (patch) | |
tree | 05b688baaddc6f44fb45f62432c9435db95a5146 /package/lighttpd/files | |
parent | c2a1a43e41a44090dac2a7eaa73c6fc8f50951a6 (diff) |
better defaults
Diffstat (limited to 'package/lighttpd/files')
-rw-r--r-- | package/lighttpd/files/lighttpd.init | 2 |
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 ;; |