Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 197057 Details for
Bug 220161
/etc/init.d/lighttpd stop doesn't kill process
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Init script patch that checks /var for avalaible disk space in checkconfig()
lighttpd.patch (text/plain), 555 bytes, created by
James Pic
on 2009-07-07 13:10:02 UTC
(
hide
)
Description:
Init script patch that checks /var for avalaible disk space in checkconfig()
Filename:
MIME Type:
Creator:
James Pic
Created:
2009-07-07 13:10:02 UTC
Size:
555 bytes
patch
obsolete
>--- /etc/init.d/lighttpd 2009-06-20 13:04:34.000000000 +0200 >+++ lighttpd 2009-07-07 13:05:23.000000000 +0200 >@@ -18,6 +17,21 @@ > return 1 > fi > >+ local -i free_space >+ local fs >+ >+ if [[ `mount | grep \/var` -eq 0 ]]; then >+ fs='/var' >+ else >+ fs='rootfs' >+ fi >+ >+ free_space=`df | grep $fs | gawk '{ print $3 }'` >+ if [[ $free_space < 2048 ]]; then >+ ewarn "$fs has few disk space ($free_space) left, lighttpd will bug" >+ return 1 >+ fi >+ > /usr/sbin/lighttpd -t -f ${LIGHTTPD_CONF} >/dev/null > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220161
:
196711
|
197057
|
197063
|
202553