12 lines
301 B
SYSTEMD
12 lines
301 B
SYSTEMD
[Unit]
|
|
Description=Monkey Island Mongo Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart=/var/monkey_island/bin/mongodb/bin/mongod --quiet --dbpath /var/monkey_island/db
|
|
KillMode=process
|
|
Restart=always
|
|
ExecStop=/var/monkey_island/bin/mongodb/bin/mongod --shutdown
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |