bash config
This commit is contained in:
parent
56007e1d1c
commit
c6dcf5d4ea
5
scripts/config.sh
Normal file
5
scripts/config.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
HOST="chris@nose-pluto.local"
|
||||||
|
DEST="~/pluto"
|
||||||
|
NOSE_DIR="~/nose"
|
||||||
|
|
@ -5,9 +5,7 @@
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
HOST="chris@nose-pluto.local"
|
source config.sh
|
||||||
DEST="~/pluto"
|
|
||||||
NOSE_DIR="~/nose"
|
|
||||||
SOCK="$HOME/.ssh/cm-%r@%h:%p"
|
SOCK="$HOME/.ssh/cm-%r@%h:%p"
|
||||||
|
|
||||||
# 1) Open a master connection (prompts once)
|
# 1) Open a master connection (prompts once)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
##
|
##
|
||||||
# setup your NOSEputer from your dev machine
|
# setup your NOSEputer from your dev machine
|
||||||
|
|
||||||
HOST="chris@nose-pluto.local"
|
source config.sh
|
||||||
DEST="~/pluto"
|
|
||||||
|
|
||||||
ssh $HOST "cd $DEST && ./scripts/install.sh && sudo systemctl start nose-pluto.service"
|
ssh $HOST "cd $DEST && ./scripts/install.sh && sudo systemctl start nose-pluto.service"
|
||||||
Loading…
Reference in New Issue
Block a user