Remove supervisord

This commit is contained in:
Paul-Emmanuel Raoul 2018-11-29 16:20:55 +00:00
parent 290ee213fd
commit f3ce6c08c5
2 changed files with 3 additions and 7 deletions

View File

@ -16,11 +16,9 @@ RUN tar xvf infection_monkey_deb.${RELEASE}.tgz \
&& apt-get -yqq upgrade \
&& apt-get -yqq install python-pip \
python-dev \
libssl-dev \
supervisor \
&& dpkg -i *.deb \
&& rm -f *.deb *.tgz
COPY stack.conf /etc/supervisor/conf.d/stack.conf
ENTRYPOINT [ "supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf" ]
WORKDIR /var/monkey
ENTRYPOINT ["/var/monkey/monkey_island/bin/python/bin/python"]
CMD ["/var/monkey/monkey_island.py"]

View File

@ -1,2 +0,0 @@
[program:monkey]
command=/var/monkey/monkey_island/ubuntu/systemd/start_server.sh