From ae117b87cb059ed186aea39a6b587cb13fa92c91 Mon Sep 17 00:00:00 2001 From: Manumerique Date: Wed, 2 Jan 2019 10:33:21 +0100 Subject: [PATCH] Update _common.sh Update mongodb service name from mongod.service to mongodb.service (Correct service name mongodb.service found in Yunohost 3.3.3 using command systemctl list-unit-files) --- scripts/_common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 2416f4c..6863d7d 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -61,11 +61,11 @@ installdeps(){ fi # start mongodb service - sudo systemctl enable mongod.service - sudo systemctl start mongod.service + sudo systemctl enable mongodb.service + sudo systemctl start mongodb.service # add mongodb to services - sudo yunohost service add mongod -l /var/log/mongodb/mongod.log + sudo yunohost service add mongodb -l /var/log/mongodb/mongodb.log #Install other dependencies sudo apt-get install -y gzip curl graphicsmagick