mirror of
https://github.com/caprover/caprover
synced 2025-11-29 16:23:21 +00:00
11 lines
209 B
Bash
Executable File
11 lines
209 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if ! [ $(id -u) = 0 ]; then
|
|
echo "Must run as sudo or root"
|
|
exit 1
|
|
fi
|
|
|
|
sudo docker service update captain-captain --force
|
|
sleep 2s
|
|
sudo docker service logs captain-captain --follow --since 2m
|