. lib/lsb/init-functions if [ ! -f etc/nginx/nginx.conf ]; then cp etc/nginx/nginx.conf{.default,} log_success_msg "${WARNING} etc/nginx/nginx.conf created ${NORMAL}" log_warning_msg "${WARNING} Double check /etc/nginx/nginx.conf and adapted to your needs ${NORMAL}" fi if [ ! -d srv/www ]; then mkdir -p srv/www log_success_msg "${WARNING} srv/www created ${NORMAL}" fi if [ ! -f srv/www/index.html ]; then cp -a etc/nginx/html/* srv/www/ log_success_msg "${WARNING} srv/www/index.html created ${NORMAL}" fi