Address some shellcheckery
This commit is contained in:
parent
cbd9995458
commit
7a89a522cc
@ -51,6 +51,7 @@ _run_system0() {
|
||||
pg_ctlcluster 11 main start
|
||||
sudo -H -u postgres bash <<PGSETUP
|
||||
set -o allexport
|
||||
# shellcheck source=/dev/null
|
||||
source /tmp/app.env
|
||||
createuser spoke || true
|
||||
createdb --owner=spoke spoke || true
|
||||
@ -97,6 +98,7 @@ _run_spoke0() {
|
||||
set -o xtrace
|
||||
|
||||
set -o allexport
|
||||
# shellcheck source=/dev/null
|
||||
source /tmp/app.env
|
||||
set +o allexport
|
||||
|
||||
@ -116,6 +118,7 @@ _run_spoke0() {
|
||||
https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
|
||||
set +o errexit
|
||||
set +o xtrace
|
||||
# shellcheck source=/dev/null
|
||||
source ~/.nvm/nvm.sh
|
||||
set -o xtrace
|
||||
set -o errexit
|
||||
|
@ -4,6 +4,7 @@ set -o pipefail
|
||||
|
||||
main() {
|
||||
cd /home/spoke/app
|
||||
# shellcheck source=/dev/null
|
||||
source ~/.nvm/nvm.sh
|
||||
nvm use
|
||||
exec npm start
|
||||
|
Loading…
Reference in New Issue
Block a user