cd /home/def/otb_billing || exit 1 cp templates/portal/services_here.html templates/portal/services_here.html.bak.$(date +%Y%m%d-%H%M%S) cat > templates/portal/services_here.html <<'EOF' Services - OutsideTheBox {% include "includes/site_nav.html" %}

Services

{{ client_name }}

Launch available OTB services from one place.

Back to Dashboard Logout
Logged in as: {{ client_name }}
{% for service in services %}

{{ service.name }}

{{ service.summary }}

{% if service.status == 'beta' %} Beta {% elif service.status == 'coming_soon' %} Coming Soon {% else %} Available {% endif %}
{% if service.enabled %} {{ service.button_text }} {% else %} {% endif %}
{% endfor %}
{% include "includes/otb_footer.html" %} EOF sudo systemctl restart otb_billing.service