15 lines
259 B
Bash
Executable File
15 lines
259 B
Bash
Executable File
#!/bin/sh
|
|
|
|
pidFile="@SCRIPTS_PATH@/concordia-server.PID"
|
|
|
|
if [ -e $pidFile ]
|
|
then
|
|
pid=`cat $pidFile`
|
|
rm $pidFile
|
|
kill $pid
|
|
echo "concordia-server stopped"
|
|
else
|
|
echo "no PID file found at:" $pidFile "- is concordia-server running?" >&2
|
|
fi
|
|
|