From d334ae6de168dd84eca9f14b54101f7314de5b83 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Tue, 7 Mar 2017 19:19:30 +0000 Subject: [PATCH] deprecated warning --- start.sh | 5 +++++ stop.sh | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/start.sh b/start.sh index 602228f..d1d0368 100755 --- a/start.sh +++ b/start.sh @@ -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} diff --git a/stop.sh b/stop.sh index 64b3ac6..ff098b5 100755 --- a/stop.sh +++ b/stop.sh @@ -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)