1
0
mirror of https://github.com/hoellen/dockerfiles.git synced 2025-08-04 07:15:38 +00:00
Files
boring-nginx
matomo
nextcloud
nginx-php
privatebin
searx
unmaintained
boinc
cowrie
Dockerfile
README.md
run.sh
cryptpad
freshrss
ghost
isso
kippo-graph
libresonic
lutim
lychee
mastodon
mediawiki
nginx
parsoid
pgbouncer
rainloop
reverse
rtorrent-flood
rutorrent
tor
LICENSE
README.md
dockerfiles/unmaintained/cowrie/run.sh
2017-12-04 14:54:24 +01: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