mirror of
https://github.com/cowrie/cowrie.git
synced 2025-07-01 18:07:27 -04:00
add pidfile back (#1460)
This commit is contained in:
@ -193,6 +193,13 @@ export PYTHONPATH=${PYTHONPATH}:${COWRIEDIR}/src
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# Don't store pidfile on Docker persistent volume
|
||||||
|
if [ "${COWRIE_STDOUT}" = "yes" ]; then
|
||||||
|
PIDFILE=""
|
||||||
|
else
|
||||||
|
PIDFILE=var/run/cowrie.pid
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -f ${COWRIEDIR}/var/log/cowrie/cowrie.log ]
|
if [ ! -f ${COWRIEDIR}/var/log/cowrie/cowrie.log ]
|
||||||
then
|
then
|
||||||
first_time_use
|
first_time_use
|
||||||
|
|||||||
Reference in New Issue
Block a user