#!/bin/bash

{% if settings.country and settings.country.postinst %}
{% for script in settings.country.postinst %}
{{ script }}
{% endfor %}
{% endif %}


{% if settings.debian_scripts and settings.debian_scripts.postinst %}
{% for script in settings.debian_scripts.postinst %}
{{ script }}
{% endfor %}
{% endif %}


{% if settings.use_nginx %}
if pgrep nginx > /dev/null; then
    /etc/init.d/nginx reload 
fi
{% endif %}
