aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/launch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/launch')
-rwxr-xr-xcontrib/launch4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/launch b/contrib/launch
new file mode 100755
index 0000000..0124c70
--- /dev/null
+++ b/contrib/launch
@@ -0,0 +1,4 @@
+#!/bin/zsh
+set -eax
+podman container exists cgit || ("$(dirname "$(realpath "$0")")/setup-img" 2>&1 | tee /tmp/setup || (grep 'First launch: container is now shut down' /tmp/setup && rm /tmp/setup))
+podman start -ia cgit