From e64cf6787f58bdba5f68ad66ac1e77745315947b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 3 Dec 2011 12:49:43 +0100 Subject: better defaults --- package/lighttpd/files/lighttpd.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/lighttpd/files') 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 ;; -- cgit v1.2.3