Schon komisch:
Code:
/var/mod/root # ps|grep httpd|grep 81
31887 root 1452 S httpd -P /var/run/webcfg.pid -p 81 -c /mod/etc/httpd.conf -h /usr/mww/ -r Freetz
/var/mod/root # /etc/init.d/rc.webcfg restart
Stopping Freetz webinterface...done.
Starting Freetz webinterface...done.
/var/mod/root # ps|grep httpd|grep 81
31897 root 1452 S httpd -P /var/run/webcfg.pid -p 81 -c /mod/etc/httpd.conf -h /usr/mww/ -r Freetz
/var/mod/root # /etc/init.d/rc.webcfg restart
Stopping Freetz webinterface...done.
Starting Freetz webinterface...done.
/var/mod/root # ps|grep httpd|grep 81
31907 root 1452 S httpd -P /var/run/webcfg.pid -p 81 -c /mod/etc/httpd.conf -h /usr/mww/ -r Freetz
Auszug beim Aufruf von "rc.webcfg restart":
Code:
Stopping Freetz webinterface...+ modlib_check_running
+ local fn=/var/run/webcfg.pid
+ [ ! -s /var/run/webcfg.pid ]
+ cat /var/run/webcfg.pid
+ kill -0 1093
+ local status=0
+ [ 0 != 0 ]
+ return 0
+ cat /var/run/webcfg.pid
+ kill 1093
+ local status=0
+ rm -f /var/run/webcfg.pid
+ [ 0 -eq 0 ]
+ echo done.
done.
Die beiden "kills" werden leider von modlibrc ausgeführt. Beim 2. "kill" würde ein "-9" wohl Abhilfe schaffen