mirror of
https://github.com/caprover/caprover
synced 2025-12-12 14:25:39 +00:00
Improved MacOs startup
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if ! [ $(id -u) <> 0 ]; then
|
if ! [ $(id -u) ] <>0; then
|
||||||
echo "Must not be run as sudo or root on macos (macos security) please run the step 1 as root and this step as standard user"
|
echo "Must not be run as sudo or root on macos (macos security) please run the step 1 as root and this step as standard user"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
pwd >currentdirectory
|
||||||
docker service rm $(docker service ls -q)
|
docker service rm $(docker service ls -q)
|
||||||
sleep 1
|
sleep 1
|
||||||
docker secret rm captain-salt
|
docker secret rm captain-salt
|
||||||
|
|||||||
Reference in New Issue
Block a user