1
0
mirror of https://github.com/hoellen/dockerfiles.git synced 2025-05-06 12:19:17 +00:00

cowrie: avoid pid clashes

This commit is contained in:
Wonderfall 2016-05-16 21:36:08 +02:00
parent 64a182bdb1
commit d835e9d8f3

@ -9,6 +9,7 @@ if [ "$JSON_LOG" == "False" ]; then
sed -i "s|logfile = log/cowrie.json|#logfile = log/cowrie.json|g" cowrie.cfg
fi
rm twistd.pid
mkdir -p /cowrie/log/tty
cp -R /cowrie/custom/* /cowrie
chown -R $UID:$GID /cowrie