#!/bin/sh # Ensure dependencies start before the logger sv start syslog-ng || exit 1 sv start nginx || exit 1 sleep 1 # Start the logger exec logger -i -t nginx