From: wolfgang Date: Mon, 5 Nov 2007 22:58:16 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1240 d1b88da0-ebda-0310... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70d073cbf16928aabafdf37d093712109c0a7867;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1240 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/Scripts/sogod-wrapper b/Scripts/sogod-wrapper index 5c225e6e..f0edd595 100755 --- a/Scripts/sogod-wrapper +++ b/Scripts/sogod-wrapper @@ -21,7 +21,12 @@ # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. -PIDFILE=/var/run/sogo/sogod.$1 +if [ -z "$1" ] +then + PIDFILE=/var/run/sogo/sogod.pid +else + PIDFILE=/var/run/sogo/sogod.$1 +fi if [ -d /usr/lib/GNUstep ] then