Configure mongod and caldera services to start at boot

This commit is contained in:
Chris Long
2018-01-30 17:32:07 -08:00
parent cb56d87a2d
commit 248ae8e52a
3 changed files with 11 additions and 8 deletions

View File

@@ -143,7 +143,9 @@ cp /vagrant/resources/caldera/caldera.service /lib/systemd/system/caldera.servic
echo 'replication:
replSetName: caldera' >> /etc/mongod.conf
service mongod start
systemctl enable mongod.service
cd /home/vagrant/caldera
mkdir -p dep/crater/crater
wget https://github.com/mitre/caldera-crater/releases/download/v0.1.0/CraterMainWin8up.exe -O /home/vagrant/caldera/dep/crater/crater/CraterMain.exe
service caldera start
systemctl enable caldera.service