View | Details | Raw Unified | Return to bug 22652
Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +6 lines)
Line  Link Here
0
-- a/rc.d/init.d/lighttpd
0
++ b/rc.d/init.d/lighttpd
Lines 33-41 msg_reopen_logs() Link Here
33
}
33
}
34
34
35
ajust_docroot() {
35
ajust_docroot() {
36
	docroot=$(fgrep server.document-root "$LIGHTTPD_CONF_PATH" |cut -d '=' -f2 |egrep -o "/.*" \
36
	fgrep server.document-root "$LIGHTTPD_CONF_PATH" |cut -d '=' -f2 |egrep -o "/.*" \
37
	|sed -e "s,\"$,,g")
37
	|sed -e "s,\"$,,g" | \
38
	[ -d "$docroot" ] || echo "docroot doesn't exist, creating it" && mkdir -p "$docroot"
38
	while read docroot; do
39
		[ -d "$docroot" ] || echo "docroot '$docroot' doesn't exist, creating it" && mkdir -p "$docroot"
40
	done
39
}
41
}
40
42
41
start() {
43
start() {

Return to bug 22652