Skip to content

Commit

Permalink
fix entrypoint.sh blacktop#12
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Apr 25, 2017
1 parent 874616b commit aff4a50
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions 2.0/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ elif [ "$1" = 'api' -a "$(id -u)" = '0' ]; then
setUpCuckoo
# Change the ownership of /cuckoo to cuckoo
chown -R cuckoo:cuckoo /cuckoo
cd /cuckoo/utils

set -- su-exec cuckoo /sbin/tini -- cuckoo api --host 0.0.0.0 --port 1337

Expand All @@ -154,7 +153,6 @@ elif [ "$1" = 'web' -a "$(id -u)" = '0' ]; then
fi
# Change the ownership of /cuckoo to cuckoo
chown -R cuckoo:cuckoo /cuckoo
cd /cuckoo/web

set -- su-exec cuckoo /sbin/tini -- cuckoo web runserver 0.0.0.0:31337
fi
Expand Down

0 comments on commit aff4a50

Please sign in to comment.