Ticket #206 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Call "paster serve --daemon" twice remove the pid file

Reported by: osantana Owned by: ianb
Priority: normal Milestone: 1.3
Component: script Version: released-version
Severity: normal Keywords:
Cc:

Description

When we call the command "paster serve --daemon" at the second time the daemonize() method doesn't make a check for live_pid() and returns to the record_pid() method that removes the pid file.

I'm attaching a patch to fix this problem.

Attachments

paste_script_daemon.patch Download (1.5 KB) - added by osantana 4 years ago.
Patch to fix this bug (proposal)

Change History

Changed 4 years ago by osantana

Patch to fix this bug (proposal)

Changed 4 years ago by ianb

  • status changed from new to closed
  • resolution set to fixed

Fixed/applied in r7134

Note: See TracTickets for help on using tickets.