mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Adds mongodb service enable and start
This commit is contained in:
parent
f4e1fcf0f7
commit
9075a9855f
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | sudo
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y mongodb-org gzip curl graphicsmagick npm
|
sudo apt-get install -y mongodb-org gzip curl graphicsmagick npm
|
||||||
|
|
||||||
|
# start mongodb service
|
||||||
|
sudo systemctl enable mongod.service
|
||||||
|
sudo systemctl start mongod.service
|
||||||
|
|
||||||
# add mongodb to services
|
# add mongodb to services
|
||||||
sudo yunohost service add mongod -l /var/log/mongodb/mongod.log
|
sudo yunohost service add mongod -l /var/log/mongodb/mongod.log
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue