15 Jul
2011
15 Jul
'11
1:25 p.m.
On 15/07/11 11:15 PM, Mr. Puneet Kishor wrote
Err :)... Starman perldoc, under DESCRIPTION, the Signals item starts with: "Supports HUP for graceful restarts..."...
Yes, I read that, but I don't know what that means (I know more Unix than my neighbor, but that is still waaaaay too little). I know that Ctrl-C sends a HUP, and so does `kill`, doesn't it? Without specifying a signal to kill it defaults to TERM. man kill will show you all the signals and their names. Yes, I am able to use your suggested technique
$ kill `head -1 /path/to/pidfile/with/descriptive/name`
What SIGNAL can I send for a restart?
kill -HUP pid will send a HANGUP (restart) Matt