tmuxの廃止
This commit is contained in:
parent
ef27d4a197
commit
299b2d8ef1
1 changed files with 0 additions and 15 deletions
|
@ -1,15 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
services=( traefik taiko-web litey stats taiko-web-redirect catmario eaglercraft space-cadet-pinball )
|
||||
|
||||
args=("${@:-"${services[@]}"}")
|
||||
|
||||
for service in "${args[@]}"; do
|
||||
echo "$service を再起動しています…"
|
||||
(
|
||||
cd "../docker/$service"
|
||||
tmux kill-session -t "$service"
|
||||
tmux new-session -s "$service" -d
|
||||
tmux send-keys -t "$service" "while true; do docker compose down; docker compose up --abort-on-container-exit; done" C-m
|
||||
)
|
||||
done
|
Loading…
Add table
Reference in a new issue