socklog-check man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

socklog-check(8)					      socklog-check(8)

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

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

DESCRIPTION
       socklog-check  attempts	to  connect  to	 a socklog(8) unix service and
       reports whether the connection attempt succeeded or not.

       It connects to the datagram oriented unix domain	 socket	 address,  and
       reports	success through the return code.  If address is not specified,
       socklog-check attempts to connect to /dev/log.

       When running services that use the syslog facility under	 runit's  ser‐
       vice  supervision, socklog-check should be added to the top of the ser‐
       vice's run script to ensure that no syslog messages are generated until
       a syslog service is up and running to process 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 success socklog-check returns 0.

       On  error,  socklog-check  prints 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 <pape@smarden.org>

							      socklog-check(8)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net