[Dancer-users] many dancer apps with Starman (part 3)

Matthew Vickers mvickers at quispiam.com
Fri Jul 15 15:25:46 CEST 2011


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




More information about the Dancer-users mailing list