Page MenuHomeDevCentral

sentry.sh
No OneTemporary

sentry.sh

#!/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

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)

Event Timeline