Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9344327
turn-things-off.sh
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
492 B
Subscribers
None
turn-things-off.sh
View Options
echo
"
${
_group
}
Turning things off ..."
if
[[
-n
"
$MINIMIZE_DOWNTIME
"
]]
;
then
# Stop everything but relay and nginx
$dc
rm
-fsv
$(
$dc
config
--services
|
grep
-v
-E
'^(nginx|relay)$'
)
else
# Clean up old stuff and ensure nothing is working while we install/update
$dc
down
-t
$STOP_TIMEOUT
--rmi
local
--remove-orphans
# Back-compat with old project name
COMPOSE_PROJECT_NAME
=
sentry_onpremise
\
$dc
down
-t
$STOP_TIMEOUT
--rmi
local
--remove-orphans
fi
echo
"
${
_endgroup
}
"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 4, 2:20 PM (1 d, 23 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3249635
Attached To
R206 getsentry-onpremise
Event Timeline
Log In to Comment