mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-05 23:12:39 +00:00
Change install directory
Change of install directory to `/usr/local/homebrewery`
This commit is contained in:
@@ -5,7 +5,7 @@ pkg install -y git nano node npm mongodb44-4.4.1
|
|||||||
sysrc mongod_enable=YES
|
sysrc mongod_enable=YES
|
||||||
service mongod start
|
service mongod start
|
||||||
|
|
||||||
cd /
|
cd /usr/local/
|
||||||
git clone https://github.com/naturalcrit/homebrewery.git
|
git clone https://github.com/naturalcrit/homebrewery.git
|
||||||
|
|
||||||
cd homebrewery
|
cd homebrewery
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ pidfile="/var/run/${program_name}.pid" # File that allows the system to keep
|
|||||||
export HOME=$( getent passwd "homebrewery_runAs" | cut -d: -f6 ) # Gets the home directory of the runAs user
|
export HOME=$( getent passwd "homebrewery_runAs" | cut -d: -f6 ) # Gets the home directory of the runAs user
|
||||||
|
|
||||||
# Command Setup
|
# Command Setup
|
||||||
exec_cmd="/homebrewery/server.js" # Path to the HomeBrewery server.js, /usr/local/bin/ when installed globally
|
exec_cmd="/usr/local/homebrewery/server.js" # Path to the HomeBrewery server.js
|
||||||
output_file="/var/log/${program_name}.log" # Path to HomeBrewery output file
|
output_file="/var/log/${program_name}.log" # Path to HomeBrewery output file
|
||||||
|
|
||||||
# Command
|
# Command
|
||||||
command="/usr/sbin/daemon"
|
command="/usr/sbin/daemon"
|
||||||
|
|||||||
Reference in New Issue
Block a user