summaryrefslogtreecommitdiffstats
path: root/wallace/wallace.sysvinit
diff options
context:
space:
mode:
Diffstat (limited to 'wallace/wallace.sysvinit')
-rw-r--r--wallace/wallace.sysvinit12
1 files changed, 9 insertions, 3 deletions
diff --git a/wallace/wallace.sysvinit b/wallace/wallace.sysvinit
index efdbe2d..4848827 100644
--- a/wallace/wallace.sysvinit
+++ b/wallace/wallace.sysvinit
@@ -10,14 +10,16 @@
# Provides: wallaced
# Default-Start: -
# Default-Stop: 0 1 2 6
-# Required-Start: $local_fs $network
-# Required-Stop: $local_fs $network
+# Required-Start: $remote_fs $local_fs $network
+# Required-Stop: $remote_fs $local_fs $network
# Short-Description: Start/Stop the Kolab Server daemon
# Description: The Kolab Wallace server daemon is a content filtering daemon.
### END INIT INFO
# Source function library.
-. /etc/init.d/functions
+if [ -f /etc/init.d/functions ]; then
+ . /etc/init.d/functions
+fi
# Source our configuration file for these variables.
FLAGS="--fork -l warning"
@@ -28,6 +30,10 @@ if [ -f /etc/sysconfig/wallace ] ; then
. /etc/sysconfig/wallace
fi
+if [ -f /etc/default/wallace ]; then
+ . /etc/default/wallace
+fi
+
RETVAL=0
# Set up some common variables before we launch into what might be