Unix and Linux Discussions Tagged with check |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
7 |
2,799 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,952 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,543 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,087 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,647 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
10,274 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
6,071 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,473 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
11,624 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
6,078 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,159 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,317 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,282 |
UNIX for Beginners Questions & Answers |
|
|
|
10 |
3,933 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,329 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
4,752 |
Shell Programming and Scripting |
|
|
|
6 |
1,469 |
Shell Programming and Scripting |
|
|
|
3 |
4,401 |
Shell Programming and Scripting |
|
|
|
0 |
1,610 |
Shell Programming and Scripting |
|
|
|
23 |
9,294 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
10,987 |
Red Hat |
|
|
|
9 |
20,613 |
Shell Programming and Scripting |
|
|
|
4 |
3,102 |
Shell Programming and Scripting |
|
|
|
8 |
3,385 |
Shell Programming and Scripting |
|
|
|
10 |
6,333 |
AIX |
|
|
|
2 |
6,035 |
Shell Programming and Scripting |
|
|
|
2 |
14,656 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
11,791 |
AIX |
|
|
|
4 |
3,161 |
Shell Programming and Scripting |
|
|
|
5 |
12,980 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
12,884 |
Shell Programming and Scripting |
|
|
|
1 |
6,673 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
25,926 |
Cybersecurity |
|
|
|
3 |
152,871 |
SuSE |
|
|
|
0 |
6,176 |
Infrastructure Monitoring |
|
|
|
0 |
3,215 |
Software Releases - RSS News |
|
|
|
2 |
4,145 |
SuSE |
|
|
|
2 |
3,627 |
Shell Programming and Scripting |
|
|
|
0 |
2,833 |
Solaris BigAdmin RSS |
|
|
|
0 |
1,758 |
Software Releases - RSS News |
socklog-check(8) System Manager's Manual 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 service 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)