summaryrefslogtreecommitdiffstats
path: root/init-scripts
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2008-11-04 12:35:05 -0500
committerAdrian Likins <alikins@redhat.com>2008-11-04 12:35:05 -0500
commitc61e4f11555461dbd8ece4a1d3d0b6e62f955371 (patch)
tree1a4e0f1308be2ed7357f53fc961f9fbe841571d0 /init-scripts
parentc46ca62627d3a6ccd431f58bdb9d4f76694db9f9 (diff)
downloadfunc-c61e4f11555461dbd8ece4a1d3d0b6e62f955371.tar.gz
func-c61e4f11555461dbd8ece4a1d3d0b6e62f955371.tar.xz
func-c61e4f11555461dbd8ece4a1d3d0b6e62f955371.zip
Pass in the correct $DAEMON arg to the dameon cmd in the
init scripts. Previsouly we were just passing in the process name (which mostly works, though mostly by accident) Suggestion from Louis Coilliot <louis.coilliot@gmail.com>
Diffstat (limited to 'init-scripts')
-rwxr-xr-xinit-scripts/funcd2
1 files changed, 1 insertions, 1 deletions
diff --git a/init-scripts/funcd b/init-scripts/funcd
index 63b98a2..223a7b6 100755
--- a/init-scripts/funcd
+++ b/init-scripts/funcd
@@ -67,7 +67,7 @@ RETVAL=0
start() {
echo -n $"Starting func daemon: "
- START_DAEMON $PROCESS $CONFIG_ARGS
+ START_DAEMON $DAEMON $CONFIG_ARGS
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SERVICE