deploy
This commit is contained in:
parent
8b1cbbbe8e
commit
aff9289130
2 changed files with 2 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
#BASE_URL="https://raw.githubusercontent.com/shocknet/Lightning.Pub/master/scripts/"
|
BASE_URL="https://raw.githubusercontent.com/shocknet/Lightning.Pub/master/scripts/"
|
||||||
BASE_URL="https://bolt12.info/deploy"
|
|
||||||
modules=(
|
modules=(
|
||||||
"utils"
|
"utils"
|
||||||
"check_homebrew"
|
"check_homebrew"
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,6 @@ start_services() {
|
||||||
LND_UPGRADE=$1
|
LND_UPGRADE=$1
|
||||||
PUB_UPGRADE=$2
|
PUB_UPGRADE=$2
|
||||||
|
|
||||||
log "Entered start_services with LND_UPGRADE=$LND_UPGRADE and PUB_UPGRADE=$PUB_UPGRADE"
|
|
||||||
|
|
||||||
if [ "$EUID" -eq 0 ]; then
|
if [ "$EUID" -eq 0 ]; then
|
||||||
USER_HOME=$(getent passwd ${SUDO_USER} | cut -d: -f6)
|
USER_HOME=$(getent passwd ${SUDO_USER} | cut -d: -f6)
|
||||||
USER_NAME=$SUDO_USER
|
USER_NAME=$SUDO_USER
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue