tiny init file nit that helps with deb packaging (and probably rpm too) - source...
authorivan <ivan>
Wed, 2 Apr 2008 15:38:30 +0000 (15:38 +0000)
committerivan <ivan>
Wed, 2 Apr 2008 15:38:30 +0000 (15:38 +0000)
init.d/freeside-init

index a62b187..edca3c9 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#!/bin/sh
 #
 # chkconfig: 345 86 16
 # description: Freeside daemons
@@ -12,6 +12,8 @@ SELFSERVICE_MACHINES="%%%SELFSERVICE_MACHINES%%%"
 PATH="$PATH:/usr/local/bin"
 export PATH
 
+[ -r /etc/default/freeside ] && . /etc/default/freeside
+
 case "$1" in
   start)
         # Start daemons.