tazpanel rev 594

boot.cgi: update apache pid
author Richard Dunbar <mojo@slitaz.org>
date Wed Jul 13 20:26:39 2016 -0400 (2016-07-13)
parents 60f0e46985a5
children 082ddf66f84b
files boot.cgi
line diff
     1.1 --- a/boot.cgi	Sun May 29 16:34:22 2016 +0100
     1.2 +++ b/boot.cgi	Wed Jul 13 20:26:39 2016 -0400
     1.3 @@ -223,7 +223,7 @@
     1.4  			# Dbus
     1.5  			[ -f /var/run/${name}/pid ] && pid=$(cat /var/run/${name}/pid)
     1.6  			# Apache
     1.7 -			[ "$name" = "apache" ] && pid=$(cat /var/run/$name/httpd.pid)
     1.8 +			[ "$name" = "apache" ] && pid=$(cat /var/run/$name.pid)
     1.9  			# Pidof works for many daemons
    1.10  			[ "$pid" ] || pid=$(pidof $name)
    1.11