mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-18 06:24:20 +01:00
13 lines
154 B
Bash
13 lines
154 B
Bash
#!/bin/sh
|
|
|
|
PIDFILE=kippo.pid
|
|
|
|
cd $(dirname $0)
|
|
|
|
PID=$(cat $PIDFILE 2>/dev/null)
|
|
|
|
if [ -n "$PID" ]; then
|
|
echo "Stopping kippo...\n"
|
|
kill -TERM $PID
|
|
fi
|