This is more useful to me than the earlier builds, though it will still
require quite a bit of tweaking. The hardcoded hostnames were easy to
suss out, but my own process killers don't want to actually kill with
what's being passed to them, and startup doesn't want to happen. Still,
I should be able to make things work as desired.
Thanks!
--
Lewis
-------------------------------------------------------------
Lewis G Rosenthal, CNA, CLP, CLE, CWTS
Rosenthal& Rosenthal, LLC www.2rosenthals.com
Need a managed Wi-Fi hotspot? www.hautspot.com
visit my IT blog www.2rosenthals.net/wordpress
please do not add my address to any non-bcc mass mailings
-------------------------------------------------------------
Hi,
>require quite a bit of tweaking.
It should not be that much tweaking.
>The hardcoded hostnames were easy to suss out,
The error message does tell you which line to look at. I will think about
adding some logic that checks if the current directory is a usable apache
directory.
>but my own process killers don't want to actually kill with
>what's being passed to them,
Which process killers? Do they support unix style signals? I have no
reason to support killers like pkill or go for exactly the reason Massimo
mentioned.
>and startup doesn't want to happen.
Use the -f option so you can see the failure message(s).
Steven
--
----------------------------------------------------------------------
"Steven Levine" <ste...@earthlink.net> eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
----------------------------------------------------------------------
i pray you, i can't live without go.exe :)
massimo s.
Hey,
>The first in my path is kill (coreutils), which did *not* kill the
>process.
Perhaps it's broken? The --help says it's supposed to understand all the
standard signal names so it should be compatible with apache_kill.
>but what about killall
>or kill9?
How are they better than apache_kill for our purposes?
>Also, while kill is in the path, I had to define it in the
>script.
That's by design. None of the systems that I use apachectl require that I
use kill. Given your recent experiences with it, I'm not so sure I'm
missing anything. :-) FWIW, there are lots of broken process killers out
there.
Hi,
>i pray you, i can't live without go.exe :)
No to worry. I will not be taking your copy away from you. :-)
Cheers, buddy. Have a good weekend.
--
Lewis
-------------------------------------------------------------
Lewis G Rosenthal, CNA, CLP, CLE, CWTS
Rosenthal& Rosenthal, LLC www.2rosenthals.com
Need a managed Wi-Fi hotspot? www.hautspot.com
visit my IT blog www.2rosenthals.net/wordpress
-------------------------------------------------------------
Hi,
>convention. On *nix, I like killall, because it takes a name as a param
>vs just a PID.
A couple of the eCS/OS2 kills can do this, pkill for example.
>No, I suppose not. My design philosophy leans more in the direction of
>having the ability to set these variables in the environment or in a
>config file, vs having to modify each copy of the script on each
>machine, that's all.
If I had planned to make this publically available, the script would have
generic and configurable. Instead, it started out as something for
internal use and then ended up being used on some of Dan's servers.
>Thanks again for providing it!
You're welcome. Have fun.