[Koha-bugs] [Bug 12263] SIPServer does not respond correctly to signals

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 15 14:13:12 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12263

Colin Campbell <colin.campbell at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|koha-bugs at lists.koha-commun |colin.campbell at ptfs-europe.
                   |ity.org                     |com

--- Comment #1 from Colin Campbell <colin.campbell at ptfs-europe.com> ---
Created attachment 28278
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28278&action=edit
Proposed path

To test:

In order to easily get the pid of the controlling process add
   pid_file='/tmp/sippid'
option to the servers section of your SIPConfig, this saves you from having to
look at ps  or equivalent to get the relevant pid `cat /tmp/sippid` will return
it. The sip server will update the file and remove it on a clean shutdown. If
not running the process as root, designate a location writable by the running
process.

While running 
kill -s HUP sippid will restart all children of server (in ps view the pids of
the child processes will have changed)
( it reattaches the socket it is listening on)

kill -s QUIT sippid will shutdown the server and its children

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list