#!/bin/sh # Ensure dependencies start before the logger sv check syslog-ng > /dev/null || exit 1 # Start the logger while read -r msg; do logger -i -t gcworker "$msg" done