From 1b9d46f834fca68e9f839e01f3edefc78c27641c Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Sun, 6 Dec 2020 18:06:23 +1300 Subject: [PATCH] Create install.sh --- freebsd/install.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/freebsd/install.sh b/freebsd/install.sh index 0b3bb7fdc..261213047 100644 --- a/freebsd/install.sh +++ b/freebsd/install.sh @@ -1,20 +1,20 @@ #!/bin/sh -pkg install -y git nano node npm mongodb44 +pkg install -y git nano node npm mongodb36-3.6.20 sysrc mongod_enable=YES service mongod start -cd /usr/local/ -git clone https://github.com/naturalcrit/homebrewery.git +cd / +git clone https://github.com/G-Ambatte/homebrewery.git cd homebrewery npm install -npm audit fix +npm audit fix -force npm run postinstall -cp freebsd/rc.d/homebrewery /usr/local/etc/rc.d/ -chmod +x /usr/local/etc/rc.d/homebrewery +cp freebsd/rc.d/homebrewery /etc/rc.d/ +chmod +x /etc/rc.d/homebrewery -sysrc homebrewery_enable=YES +sysrc homebrewery=YES service homebrewery start \ No newline at end of file