All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.hazelcast.3.6-EA.source-code.stop.sh Maven / Gradle / Ivy

There is a newer version: 5.5.0
Show newest version
#!/bin/sh

PRG="$0"
PRGDIR=`dirname "$PRG"`
HAZELCAST_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
PID_FILE=$HAZELCAST_HOME/bin/hazelcast_instance.pid
PID=$(cat ${PID_FILE});

if [[ -z "${PID}" ]]; then
    echo "${PID_FILE}.pid is not running (missing PID)."
else
   kill ${PID}
fi




© 2015 - 2024 Weber Informatics LLC | Privacy Policy