deprecated warning

This commit is contained in:
Michel Oosterhof 2017-03-07 19:19:30 +00:00
parent 55105582cb
commit d334ae6de1
2 changed files with 10 additions and 0 deletions

View File

@ -6,6 +6,11 @@ export PYTHONPATH=${PYTHONPATH}:${COWRIEDIR}
#Change the below to -n to disable daemonizing (for instance when using supervisor)
DAEMONIZE=""
echo
echo 'WARNING: start.sh is deprecated and will be removed in the future.'
echo 'WARNING: you can start cowrie with "bin/cowrie start"'
echo
set -e
cd ${COWRIEDIR}

View File

@ -2,6 +2,11 @@
PIDFILE=var/run/cowrie.pid
echo
echo 'WARNING: stop.sh is deprecated and will be removed in the future.'
echo 'WARNING: you can start cowrie with "bin/cowrie stop"'
echo
cd $(dirname $0)
PID=$(cat ${PIDFILE} 2>/dev/null)