Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
#489 add missing upstart conf
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnov committed Mar 22, 2018
1 parent 0c04607 commit 1e563c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions build/setup.d/55-setup-taupage-yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ fi
if [ -n "$TOKENINFO_BUSINESS_PARTNERS" ]; then
echo "tokeninfo_business_partners: $TOKENINFO_BUSINESS_PARTNERS" >> /meta/taupage.yaml
fi
if [ -n "$TOKENINFO_ENABLE_INTROSPECTION" ]; then
echo "tokeninfo_enable_introspection: $TOKENINFO_ENABLE_INTROSPECTION" >> /meta/taupage.yaml
fi
6 changes: 2 additions & 4 deletions runtime/etc/init/planb-tokeninfo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ script
export OPENID_PROVIDER_CONFIGURATION_URL="$config_openid_provider_configuration_url"
export REVOCATION_PROVIDER_URL="$config_revocation_provider_url"
export BUSINESS_PARTNERS="$config_tokeninfo_business_partners"
export ENABLE_INTROSPECTION="$config_tokeninfo_enable_introspection"
if test -z "$ENABLE_INTROSPECTION"
then
export ENABLE_INTROSPECTION="False"
if [ "$config_tokeninfo_introspection" = "true" ] || [ "$config_tokeninfo_introspection" = "True" ]; then
export ENABLE_INTROSPECTION="true"
fi
/opt/taupage/bin/planb-tokeninfo
end script

0 comments on commit 1e563c2

Please sign in to comment.