added pid file removal to stop script
Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/e79fed42 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/e79fed42 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/e79fed42 Branch: refs/remotes/origin/master Commit: e79fed42f421f7ca23290db74630ebdb272fc87d Parents: fc4dfcf Author: Jon Maron <[email protected]> Authored: Fri May 1 09:49:35 2015 -0400 Committer: Jon Maron <[email protected]> Committed: Fri May 1 09:49:35 2015 -0400 ---------------------------------------------------------------------- src/bin/metadata-stop.sh | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/e79fed42/src/bin/metadata-stop.sh ---------------------------------------------------------------------- diff --git a/src/bin/metadata-stop.sh b/src/bin/metadata-stop.sh index e6bc51c..c99759d 100755 --- a/src/bin/metadata-stop.sh +++ b/src/bin/metadata-stop.sh @@ -40,6 +40,7 @@ if [ -f $METADATA_PID_FILE ] then kill -15 `cat $METADATA_PID_FILE` echo Metadata Server stopped + rm -rf $METADATA_PID_FILE else echo "pid file $METADATA_PID_FILE not present" fi
