I haven't tested this script fully yet. I've been running things manually
and now I'm trying to build RPMs and start everything as services but
I'm having some problems. I noticed this while debugging it.
I still need to figure out why /var/lib/matahari and /var/run/matahari
don't seem to be created properly when installing the RPMs though.
I'm using Fedora 15.
-----
matahari-serviced is now matahari-qmf-serviced, so tweak the init script
to match that naming scheme.
Signed-off-by: Russell Bryant <russell(a)russellbryant.net>
---
matahari.init.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/matahari.init.in b/matahari.init.in
index c967b8d..ed34c4b 100644
--- a/matahari.init.in
+++ b/matahari.init.in
@@ -23,7 +23,7 @@
SERVICE=`readlink -f "$0"`
SERVICE=`basename "$SERVICE"`
-PROCESS=`echo "$SERVICE"d`
+PROCESS=`echo "$SERVICE" | cut -f1 -d'-'`-qmf-`echo
"$SERVICE" | cut -f2 -d'-'`d
RETVAL=0
--
1.7.4.4