diff --git a/monkey_island/deb-package/DEBIAN/postinst b/monkey_island/deb-package/DEBIAN/postinst index 3b9ba92ff..372718b87 100644 --- a/monkey_island/deb-package/DEBIAN/postinst +++ b/monkey_island/deb-package/DEBIAN/postinst @@ -22,6 +22,8 @@ if [ -d "/etc/systemd/network" ]; then cp ${MONKEY_FOLDER}/ubuntu/systemd/*.service /lib/systemd/system/ chmod +x ${MONKEY_FOLDER}/ubuntu/systemd/start_server.sh systemctl daemon-reload + systemctl enable monkey-mongo + systemctl enable monkey-island fi ${MONKEY_FOLDER}/create_certificate.sh