mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 05:54:21 +01:00
deprecated warning
This commit is contained in:
5
start.sh
5
start.sh
@@ -6,6 +6,11 @@ export PYTHONPATH=${PYTHONPATH}:${COWRIEDIR}
|
|||||||
#Change the below to -n to disable daemonizing (for instance when using supervisor)
|
#Change the below to -n to disable daemonizing (for instance when using supervisor)
|
||||||
DAEMONIZE=""
|
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
|
set -e
|
||||||
cd ${COWRIEDIR}
|
cd ${COWRIEDIR}
|
||||||
|
|
||||||
|
|||||||
5
stop.sh
5
stop.sh
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
PIDFILE=var/run/cowrie.pid
|
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)
|
cd $(dirname $0)
|
||||||
|
|
||||||
PID=$(cat ${PIDFILE} 2>/dev/null)
|
PID=$(cat ${PIDFILE} 2>/dev/null)
|
||||||
|
|||||||
Reference in New Issue
Block a user