0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-05 10:12:41 +00:00

Fix for MongoDB package update breaking install script

Change to enable use of rcvars for NODE_ENV and PORT
This commit is contained in:
G.Ambatte
2021-01-10 17:23:14 +13:00
parent edd902397e
commit 407232c708
2 changed files with 7 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
pkg install -y git nano node npm mongodb44-4.4.1
pkg install -y git nano node npm mongodb44
sysrc mongod_enable=YES
service mongod start
@@ -13,8 +13,8 @@ npm install
npm audit fix
npm run postinstall
cp freebsd/rc.d/homebrewery /etc/rc.d/
chmod +x /etc/rc.d/homebrewery
cp freebsd/rc.d/homebrewery /usr/local/etc/rc.d/
chmod +x /usr/local/etc/rc.d/homebrewery
sysrc homebrewery_enable=YES
service homebrewery start