diff --git a/monkey/monkey_island/deb-package/DEBIAN/postinst b/monkey/monkey_island/deb-package/DEBIAN/postinst index 4f5299f6d..c319db669 100644 --- a/monkey/monkey_island/deb-package/DEBIAN/postinst +++ b/monkey/monkey_island/deb-package/DEBIAN/postinst @@ -9,11 +9,11 @@ pip2 install virtualenv --no-index --find-links file://$INSTALLATION_FOLDER virtualenv -p python2.7 ${PYTHON_FOLDER} # install pip requirements -${PYTHON_FOLDER}/bin/python -m pip install -r $MONKEY_FOLDER/monkey_island/pip_requirements.txt --no-index --find-links file://$INSTALLATION_FOLDER +${PYTHON_FOLDER}/bin/python -m pip install -r $MONKEY_FOLDER/monkey_island/requirements.txt --no-index --find-links file://$INSTALLATION_FOLDER # remove installation folder and unnecessary files rm -rf ${INSTALLATION_FOLDER} -rm -f ${MONKEY_FOLDER}/monkey_island/pip_requirements.txt +rm -f ${MONKEY_FOLDER}/monkey_island/requirements.txt cp ${MONKEY_FOLDER}/monkey_island/service/* /etc/init/ if [ -d "/etc/systemd/network" ]; then diff --git a/monkey/monkey_island/deb-package/DEBIAN_MONGO/control b/monkey/monkey_island/deb-package/DEBIAN_MONGO/control deleted file mode 100644 index 2693afbd9..000000000 --- a/monkey/monkey_island/deb-package/DEBIAN_MONGO/control +++ /dev/null @@ -1,8 +0,0 @@ -Package: gc-monkey-island -Architecture: amd64 -Maintainer: Guardicore -Homepage: http://www.guardicore.com -Priority: optional -Version: 1.0 -Description: Guardicore Infection Monkey Island installation package -Depends: openssl, python-pip, python-dev diff --git a/monkey/monkey_island/deb-package/DEBIAN_MONGO/postinst b/monkey/monkey_island/deb-package/DEBIAN_MONGO/postinst index 156a46374..b46ad0c37 100644 --- a/monkey/monkey_island/deb-package/DEBIAN_MONGO/postinst +++ b/monkey/monkey_island/deb-package/DEBIAN_MONGO/postinst @@ -9,11 +9,11 @@ pip2 install virtualenv --no-index --find-links file://$INSTALLATION_FOLDER virtualenv -p python2.7 ${PYTHON_FOLDER} # install pip requirements -${PYTHON_FOLDER}/bin/python -m pip install -r $MONKEY_FOLDER/monkey_island/pip_requirements.txt --no-index --find-links file://$INSTALLATION_FOLDER +${PYTHON_FOLDER}/bin/python -m pip install -r $MONKEY_FOLDER/monkey_island/requirements.txt --no-index --find-links file://$INSTALLATION_FOLDER # remove installation folder and unnecessary files rm -rf ${INSTALLATION_FOLDER} -rm -f ${MONKEY_FOLDER}/monkey_island/pip_requirements.txt +rm -f ${MONKEY_FOLDER}/monkey_island/requirements.txt ${MONKEY_FOLDER}/monkey_island/install_mongo.sh ${MONKEY_FOLDER}/monkey_island/bin/mongodb diff --git a/monkey/monkey_island/deb-package/service/systemd/monkey-island.service b/monkey/monkey_island/deb-package/service/systemd/monkey-island.service index b6a536574..e1dea878a 100644 --- a/monkey/monkey_island/deb-package/service/systemd/monkey-island.service +++ b/monkey/monkey_island/deb-package/service/systemd/monkey-island.service @@ -4,7 +4,7 @@ After=network.target [Service] Type=simple -ExecStart=/var/monkey/monkey_island/ubuntu/systemd/start_server.sh +ExecStart=/var/monkey/monkey_island/service/systemd/start_server.sh [Install] WantedBy=multi-user.target \ No newline at end of file diff --git a/monkey/monkey_island/requirements.txt b/monkey/monkey_island/requirements.txt index d86832681..ff12ed92d 100644 --- a/monkey/monkey_island/requirements.txt +++ b/monkey/monkey_island/requirements.txt @@ -18,4 +18,5 @@ boto3 awscli cffi PyInstaller -virtualenv \ No newline at end of file +virtualenv +wheel \ No newline at end of file