1aa47310ca
- Now installing a man page for 'orionctl'. - Correctly stopping Orion and removing the PID file on deinstall. - Verbose install (removed the @-signs). - Changes the exit codes in the script (and documented them in the man page) - Extended the documentation in pkg-descr. PR: 27748 Submitted by: maintainer
9 lines
170 B
Bash
9 lines
170 B
Bash
#!/bin/sh
|
|
PID_FILE=/var/run/orion.pid
|
|
if [ -e ${PID_FILE} ]; then
|
|
echo -n "Orion is still running."
|
|
/bin/kill `cat ${PID_FILE}`
|
|
rm -f ${PID_FILE}
|
|
echo " Stopped."
|
|
fi
|