[Dancer-users] many dancer apps with Starman (part 3)
melo at simplicidade.org
Fri Jul 15 10:05:40 CEST 2011
On Thu, Jul 14, 2011 at 10:57 PM, Mr. Puneet Kishor <punk.kish at gmail.com> wrote:
> On Jul 11, 2011, at 6:59 AM, Pedro Melo wrote:
>> First: Use the --pid option of plackup and give it a very descriptive
>> name, in a well known directory. With that, you can use kill
>> -SIGNAL_NAME `head -1 /path/to/pids/app_descriptive_name` ... You can
>> even use tab completion.
> What is the way to restart an already running app? Am I the only one who is a bit lost with the documentation for Starman and other servers (or, even the plackup documentation)?
Err :)... Starman perldoc, under DESCRIPTION, the Signals item starts
with: "Supports HUP for graceful restarts..."...
Use the --pid option to write the master process pid number to a file
so you don't have to use ps (which on Mac OS X lacks the -f option
xmpp:melo at simplicidade.org
mailto:melo at simplicidade.org
More information about the Dancer-users