#!/bin/bash
for profile in $(find /opt/drycc/*/profile.d/* 2>/dev/null)
do
  . $profile
done

if [[ "$$" == "1" ]] ; then
  exec tini -g -- "$@"
else
  exec tini -sg -- "$@"
fi