SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE




YUM REPOSITORY

 
 

MAN page from Mandriva 2011 socklog-2.1.0-5mdv2010.0.i586.rpm

socklog-check

Section: Maintenance Commands (8)
Index 

NAME

socklog-check - checks for the availability of a socklog(8) service. 

SYNOPSIS

socklog-check[-v] [unix[address]] 

DESCRIPTION

socklog-checkattempts to connect to asocklog(8)unix service and reports whether the connection attempt succeeded or not.It connects to the datagram oriented unix domain socketaddress,and reports success through the return code.Ifaddressis not specified,socklog-checkattempts to connect to/dev/log.When running services that use the syslog facility under runit's servicesupervision,socklog-checkshould be added to the top of the service's run script to ensure that nosyslog messages are generated until a syslog service is up and running toprocess the messages, e.g.:
 #!/bin/sh
 socklog-check || exit 1
 exec service_using_syslog  

OPTIONS

-v
verbose.Print verbose message to standard error.
 

EXIT CODES

On successsocklog-checkreturns 0.On error,socklog-checkprints a message to standard error and exits 111. 

SEE ALSO

socklog(8),socklog-conf(8),svlogd(8),tryto(1),uncat(1),sv(8),runsv(8),runsvdir(8)


 http://smarden.org/socklog/
 http://smarden.org/runit/ 

AUTHOR

Gerrit Pape <papeAATTsmarden.org>


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT CODES
SEE ALSO
AUTHOR

This document was created byman2html,using the manual pages.