From 52c70a8d8a2b2d28c3eb53281c80088f0aecdf17 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Thu, 1 May 2014 15:17:44 +0100 Subject: [PATCH] Bug 12169 Use pid file in sipserver shutdown Change sample SIPConfig to request server writes a pid file Use this 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 --- etc/SIPconfig.xml | 14 ++++++++------ misc/bin/sip_shutdown.sh | 19 +++++-------------- 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/etc/SIPconfig.xml b/etc/SIPconfig.xml index bd8d49e..e8d293a 100644 --- a/etc/SIPconfig.xml +++ b/etc/SIPconfig.xml @@ -4,7 +4,11 @@ -