Hello Alex,

> > 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

This is exactly what I was looking for. Thanks for sharing it with me.

Thanks again,
Joe

Attachment: signature.asc
Description: Digital signature

Reply via email to