Hi!
On Sun, Aug 03, 2014 at 11:37:56PM -0500, Joe M wrote:
> I am wondering if you have any script to log using logger (to syslog)
> from a runit service. I just want to try logging to syslog instead of
> using svlogd.
I don't really understand your question. If you wanna write something to
syslog from shell script you can use /usr/bin/logger tool. If you wanna
redirect output from some service's ./run to syslog instead of writing it
to files using svlogd - use this in service's ./log/run:
#!/bin/sh
exec socat - UNIX-SENDTO:/path/to/your/log.sock
--
WBR, Alex.
Received on Mon Aug 04 2014 - 05:19:33 UTC