From 3e52a45c5234f306879474429c9ad2f329529d05 Mon Sep 17 00:00:00 2001 From: yuuki <> Date: Wed, 16 Oct 2024 05:39:50 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=B5=E3=83=BC=E3=83=93=E3=82=B9=E3=81=94?= =?UTF-8?q?=E3=81=A8=E3=81=AB=E5=86=8D=E8=B5=B7=E5=8B=95=E3=82=92=E5=8F=AF?= =?UTF-8?q?=E8=83=BD=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- running-forever/start.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/running-forever/start.sh b/running-forever/start.sh index 547d148..e1767bd 100644 --- a/running-forever/start.sh +++ b/running-forever/start.sh @@ -2,7 +2,10 @@ services=( traefik taiko-web litey stats ) -for service in ${services[@]}; do +args=("${@:-"${services[@]}"}") + +for service in "${args[@]}"; do + echo "$service を再起動しています…" ( cd "../docker/$service" tmux kill-session -t "$service"