#!/bin/sh

cat <<BANNER
----------------------------------------------------------------------

Thank you for using NGINX!

Please find the documentation for NGINX Plus here:
https://docs.nginx.com/nginx/

NGINX Plus is proprietary software. EULA and License information:
/usr/share/licenses/nginx-plus/

For support information, please see:
https://www.nginx.com/support/

----------------------------------------------------------------------
BANNER

if [ ! -d /var/cache/nginx ]; then
	mkdir -p /var/cache/nginx
fi

if [ ! -d /var/lib/nginx/state ]; then
	mkdir -p /var/lib/nginx/state
fi

chown nginx:root /var/lib/nginx/state
chmod 750 /var/lib/nginx/state

exit 0
