ACCUMULO-1615 applying Ravi Mutyala's patch

Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/260b4318
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/260b4318
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/260b4318

Branch: refs/heads/master
Commit: 260b4318802401e82bb0c737e604ab641b57a6cc
Parents: ffaba08
Author: Eric Newton <e...@apache.org>
Authored: Thu Jul 25 16:38:51 2013 -0400
Committer: Eric Newton <e...@apache.org>
Committed: Thu Jul 25 16:38:51 2013 -0400

----------------------------------------------------------------------
 assemble/scripts/init.d/accumulo-tserver | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/260b4318/assemble/scripts/init.d/accumulo-tserver
----------------------------------------------------------------------
diff --git a/assemble/scripts/init.d/accumulo-tserver 
b/assemble/scripts/init.d/accumulo-tserver
index 20a5507..a6d60bb 100755
--- a/assemble/scripts/init.d/accumulo-tserver
+++ b/assemble/scripts/init.d/accumulo-tserver
@@ -83,6 +83,8 @@ do_start()
 #
 do_stop()
 {
+    TARGET_USER_NAME="ACCUMULO_USER"
+    TARGET_USER=$(eval "echo \$$TARGET_USER_NAME")
        # Return
        #  0 if daemon has been stopped
        #  1 if daemon was already stopped

Reply via email to