#!/usr/bin/env bash while ! grep -qF "init-arsse: done"; do sleep 1 done logger -t 'nginx' "start" >> /var/log/run-log nginx -c /config/nginx/nginx.conf -g 'daemon off;' logger -t 'nginx' "done" >> /var/log/run-log