mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-28 11:55:42 +00:00
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
13 lines
299 B
Bash
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
|