]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1240 d1b88da0-ebda-0310...
authorwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 5 Nov 2007 22:58:16 +0000 (22:58 +0000)
committerwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 5 Nov 2007 22:58:16 +0000 (22:58 +0000)
Scripts/sogod-wrapper

index 5c225e6e7042dfe729383cd05fcffc0c690eb187..f0edd5956b419b6034b2e1060d401722721198da 100755 (executable)
 # 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