Bug 12169: Use pid file in sipserver shutdown
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 1 May 2014 14:17:44 +0000 (15:17 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 21 Jun 2021 11:27:30 +0000 (13:27 +0200)
commitd94d81fdf7031e13d66b05cacffe2ed0706ecf63
tree616b443db70ec2e872bef03ba3bb0b264a3fbaaf
parent4c79fe761b9fee8bce811466cfff6838f4c9251f
Bug 12169: Use pid file in sipserver shutdown

Change sample SIPConfig to request server writes a pid file

Use this pid in shutdown rather than the current open to error
method.

Have also added to the Config parameters to ensure that the sipserver
runs as the correct user and sets its own session id. These are always
useful but makes it easier for users to run up the sipserver as root at
boot time similarly to apache, mysql etc

Added to the sample config where to locate other server parameter
documentation.

Removed from the sample config the unedifying, unwanted and
purely historical http example

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
etc/SIPconfig.xml
misc/bin/sip_shutdown.sh