Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F28577959
sentry.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
sentry.sh
View Options
#!/bin/sh
# -------------------------------------------------------------
# PaaS Docker
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-11-11
# License: Trivial work, not eligible to copyright
# Source file: roles/paas-docker/wrappers/files/sentry.sh
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
if
[
"
$#
"
-lt
2
]
;
then
echo
"Usage:
$0
<realm> <command> [arguments]"
1
>
&
2
;
exit
1
fi
REALM
=
$1
shift
if
[
! -d
"/srv/sentry/
$REALM
"
]
;
then
echo
"Realm doesn't exist:
$REALM
"
1
>
&
2
;
exit
2
fi
DOCKER_RUN_SCRIPT
=
/srv/sentry/
$REALM
/bin/sentry
if
[
! -f
"
$DOCKER_RUN_SCRIPT
"
]
;
then
echo
"File doesn't exist:
$DOCKER_RUN_SCRIPT
"
1
>
&
2
;
echo
"You can generate it running 'deploy-container sentry' command on the Salt master. 1>&2;"
exit
4
fi
$DOCKER_RUN_SCRIPT
"
$@
"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Fri, May 15, 11:55 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3705889
Default Alt Text
sentry.sh (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment