1
0
mirror of https://github.com/hoellen/dockerfiles.git synced 2025-07-28 11:55:42 +00:00
Files
boring-nginx
cowrie
Dockerfile
README.md
run.sh
cryptpad
freshrss
ghost
isso
kippo-graph
libresonic
lychee
mastodon
mediawiki
nextcloud
nginx-php
parsoid
pgbouncer
piwik
privatebin
reverse
rtorrent-flood
searx
unmaintained
LICENSE
dockerfiles/cowrie/run.sh
2017-03-27 13:52:14 +02:00

13 lines
299 B
Bash

#!/bin/sh
cd /cowrie
rm twistd.pid &>/dev/null
mkdir -p /cowrie/log/tty &>/dev/null
cp -R /custom/* /cowrie &>/dev/null
chown -R $UID:$GID /cowrie
COWRIEDIR=$(dirname $0)
export PYTHONPATH=${PYTHONPATH}:${COWRIEDIR}
exec su-exec $UID:$GID /sbin/tini -- twistd -n -l /cowrie/log/cowrie.log cowrie