From: Ian Kelling Date: Thu, 8 Jul 2021 00:47:09 +0000 (-0400) Subject: kill nebula, android client is proprietary and has no inbound connections X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=6913020113f7b32fb0dbf5c0a9784b8b646ed50e;p=distro-setup kill nebula, android client is proprietary and has no inbound connections --- diff --git a/brc b/brc index 76e9fa4..0debf7d 100644 --- a/brc +++ b/brc @@ -869,17 +869,6 @@ hlm() { hl "$*"; "$@"; } hrcat() { local f; for f; do [[ -f $f ]] || continue; hr; echo "$f"; cat "$f"; done } -nebulaup() { - pushd /a/opt - p=/slackhq/nebula/releases/; - up=https://github.com/$(curl -s https://github.com$p| grep -o $p'download/[^/]*/nebula-linux-amd64[^"]*' | head -n1) - if wget -nv -N "$up" |& grep . &>/dev/null || [[ ! -e /a/opt/nebula/nebula ]]; then - mkdir -p /a/opt/nebula - tar -C /a/opt/nebula -zxf nebula-linux-amd64.tar.gz - fi - popd -} - # get latest hub and run it # main command to use: # hub pull-request --no-edit diff --git a/brc2 b/brc2 index d9c0b2a..f82c3d7 100644 --- a/brc2 +++ b/brc2 @@ -399,7 +399,7 @@ lipush() { # note, i had --delete-excluded, but that deletes all files in --exclude-from on # the remote site, which doesn't make sense, so not sure why i had it. local p a - p=(/a/opt/{emacs-debian10{,-nox},mu,emacs} /a/bin /a/exe /a/h /a/c /p/c/machine_specific/vps{,.hosts} /a/opt/nebula) + p=(/a/opt/{emacs-debian10{,-nox},mu,emacs} /a/bin /a/exe /a/h /a/c /p/c/machine_specific/vps{,.hosts}) a="-ahviSAXPH --specials --devices --delete --relative --exclude-from=/p/c/li-rsync-excludes" ret=0 for h in li je bk; do diff --git a/distro-end b/distro-end index 329ddb2..e49a24e 100755 --- a/distro-end +++ b/distro-end @@ -559,16 +559,6 @@ EOF # EOF -if [[ -e /etc/nebula-host.crt ]]; then - r=0 - ser status nebula &>/dev/null || r=$? - if (( r == 4 )); then - ser daemon-reload - fi - sgo nebula -fi - - ###### begin website setup case $HOSTNAME in li|bk|je) diff --git a/filesystem/etc/systemd/system/nebula.service b/filesystem/etc/systemd/system/nebula.service deleted file mode 100644 index 1e33049..0000000 --- a/filesystem/etc/systemd/system/nebula.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=nebula -Wants=basic.target -After=basic.target network.target -Before=ssh.service - -[Service] -SyslogIdentifier=nebula -ExecReload=/bin/kill -HUP $MAINPID -ExecStart=/a/opt/nebula/nebula -config /etc/nebula-config.yml -Restart=always - -[Install] -WantedBy=multi-user.target