Service created by deb starts automatically

This commit is contained in:
Itay Mizeretz 2017-10-19 10:47:28 +03:00
parent 34cd3253d7
commit 359ac04e37
1 changed files with 2 additions and 0 deletions

View File

@ -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