diff options
| author | Joe Carstairs <me@joeac.net> | 2025-12-15 20:52:13 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2025-12-15 20:52:16 +0000 |
| commit | b0161b6ddc3fbec314a4a8b236e5caf86c4970cd (patch) | |
| tree | 0b9fa7ebd8d64722303d7f55c9ab11e8ad508236 | |
| parent | 9458062b77c3983f8ffa18d834dfc5c7c9b904e6 (diff) | |
remove rpi.sh
| -rwxr-xr-x | rpi.sh | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -1,19 +0,0 @@ -#!/bin/bash - -DOCKER_BIN=podman -CONTAINER=joeac.net -PORT=80 - -set -eu - -running_containers=`$DOCKER_BIN ps | tail -n +2` -IFS=$'\n' -for line in $running_containers; do - if [[ "$line" =~ ^[a-z0-9]+[[:space:]]+localhost/$CONTAINER:[0-9a-z]+[[:space:]] ]]; then - $DOCKER_BIN stop $(echo "$line" | cut -d' ' -f 1) - fi -done - -set -x -$DOCKER_BIN run -dt -p $PORT:4321 $CONTAINER - |
