Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: cvs

[interchange/DEB_5_7_4: 6/9] don't try to start/stop Interchange when /etc/interchange/init.cfg is missing

 

 

Interchange cvs RSS feed   Index | Next | Previous | View Threaded


interchange-cvs at icdevgroup

Feb 23, 2010, 8:13 AM

Post #1 of 1 (222 views)
Permalink
[interchange/DEB_5_7_4: 6/9] don't try to start/stop Interchange when /etc/interchange/init.cfg is missing

commit 537a442ca7665e93bca8ab831d3830fcad124826
Author: Stefan Hornburg (Racke) <racke [at] linuxia>
Date: Wed Feb 10 11:08:54 2010 +0100

don't try to start/stop Interchange when /etc/interchange/init.cfg is missing

debian/interchange.init | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/debian/interchange.init b/debian/interchange.init
index 605fb75..e218376 100644
--- a/debian/interchange.init
+++ b/debian/interchange.init
@@ -43,6 +43,12 @@ test -f $DAEMON || exit 0
# --unix --inetmode Unix and Internet mode
MODE="--unix"
USER=interchange
+
+if [ ! -f /etc/interchange/init.cfg ]; then
+ echo "ERROR: /etc/interchange/init.cfg is missing."
+ exit 1
+fi
+
. /etc/interchange/init.cfg

if [ "$GPGHOME" ]; then

_______________________________________________
interchange-cvs mailing list
interchange-cvs [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs

Interchange cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.