Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions php55/root/outrigger-key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
KEY_BASE=/root/.ssh
KEY_FILE=$KEY_BASE/outrigger.key

# First check to see if a volume mounted keyfile with a specific name exists
# If that file doesn't exit, was the key passed in via an environment variable?
if [ -e $KEY_FILE ]; then
# First check to see if a volume mounted keyfile with a specific name exists.
# If the source on a bind mount does not exist it will be created as an empty directory.
if [ -e $KEY_FILE ] && [ ! -d $KEY_FILE ]
then

echo "KEY_FILE found. Setting up key..."

Expand Down
7 changes: 4 additions & 3 deletions php56/root/outrigger-key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
KEY_BASE=/root/.ssh
KEY_FILE=$KEY_BASE/outrigger.key

# First check to see if a volume mounted keyfile with a specific name exists
# If that file doesn't exit, was the key passed in via an environment variable?
if [ -e $KEY_FILE ]; then
# First check to see if a volume mounted keyfile with a specific name exists.
# If the source on a bind mount does not exist it will be created as an empty directory.
if [ -e $KEY_FILE ] && [ ! -d $KEY_FILE ]
then

echo "KEY_FILE found. Setting up key..."

Expand Down
7 changes: 4 additions & 3 deletions php70/root/outrigger-key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
KEY_BASE=/root/.ssh
KEY_FILE=$KEY_BASE/outrigger.key

# First check to see if a volume mounted keyfile with a specific name exists
# If that file doesn't exit, was the key passed in via an environment variable?
if [ -e $KEY_FILE ]; then
# First check to see if a volume mounted keyfile with a specific name exists.
# If the source on a bind mount does not exist it will be created as an empty directory.
if [ -e $KEY_FILE ] && [ ! -d $KEY_FILE ]
then

echo "KEY_FILE found. Setting up key..."

Expand Down
7 changes: 4 additions & 3 deletions php71/root/outrigger-key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
KEY_BASE=/root/.ssh
KEY_FILE=$KEY_BASE/outrigger.key

# First check to see if a volume mounted keyfile with a specific name exists
# If that file doesn't exit, was the key passed in via an environment variable?
if [ -e $KEY_FILE ]; then
# First check to see if a volume mounted keyfile with a specific name exists.
# If the source on a bind mount does not exist it will be created as an empty directory.
if [ -e $KEY_FILE ] && [ ! -d $KEY_FILE ]
then

echo "KEY_FILE found. Setting up key..."

Expand Down