ACCUMULO-1615 applying Ravi Mutyala's patch to 1.5 branch
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/d8e5de66 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/d8e5de66 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/d8e5de66 Branch: refs/heads/1.5.1-SNAPSHOT Commit: d8e5de664d12440df3ac629d53fb67e67b14db89 Parents: 978770c Author: Eric Newton <[email protected]> Authored: Thu Jul 25 16:51:32 2013 -0400 Committer: Eric Newton <[email protected]> Committed: Thu Jul 25 16:51:32 2013 -0400 ---------------------------------------------------------------------- assemble/scripts/init.d/accumulo-tserver | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/d8e5de66/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
