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

Section: Maintenance Commands (8)
Index 

NAME

socklog-conf - sets up a socklog(8) service. 

SYNOPSIS

socklog-confunix|inet|klog|ucspi-tcpacctlogacct
socklog-confnotifyacctgrp 

DESCRIPTION

socklog-confcreates/etc/svif necessary and a subdirectory that runs theunix,inet,ucspi-tcpornotifyservice (see below for each service).Except for the notify service,socklog-confalso creates a log directory with subdirectories.

acct,logacctandgrpmust not contain any special characters. 

UNIX SERVICE

socklog-confunixacctlogacct

Runningsocklog-confwith the 1st argumentunix,socklog-confcreates the service directory/etc/sv/socklog-unixand the log directory/var/log/socklog.

socklog-confarranges forsocklog(8)to run under the uid and gid ofacctand to listen for syslog messages on/dev/log.

It also creates automatically rotated log directories in/var/log/socklog.The logs are owned bylogacct.The correspondingsvlogd(8)process runs under the uid and gid oflogacct.

You can run the service underrunsvdir(8)by creating a symbolic link in the service directory:

ln -s /etc/sv/socklog-unix /var/service/

 

INET SERVICE

socklog-confinetacctlogacct

Runningsocklog-confwith the 1st argumentinet,socklog-confcreates the service directory/etc/sv/socklog-inetand the log directory/var/log/socklog-inet.

socklog-confarranges forsocklog(8)to run under the uid and gid ofacctand to listen for syslog messages on the UDP socket0.0.0.0:514.

It also creates automatically rotated log directories in/var/log/socklog-inet.The logs are owned bylogacct.The correspondingsvlogd(8)process runs under the uid and gid oflogacct.

You can run the service underrunsvdir(8)by creating a symbolic link in the service directory:

ln -s /etc/sv/socklog-inet /var/service/

 

KLOG SERVICE

socklog-confklogacctlogacct

Runningsocklog-confwith the 1st argumentklog,socklog-confcreates the service directory/etc/sv/socklog-klogand the log directory/var/log/socklog-klog.

socklog-confarranges forsocklog(8)to run under the uid and gid ofacctand to read kernel messages from/proc/kmsgon Linux, or/dev/socklog-klogon BSD.

It also creates automatically rotated log directories in/var/log/socklog-klog.The logs are owned bylogacct.The correspondingsvlogd(8)process runs under the uid and gid oflogacct.

You can run the service underrunsvdir(8)by creating a symbolic link in the service directory:

ln -s /etc/sv/socklog-klog /var/service/

 

UCSPI-TCP SERVICE

socklog-confucspi-tcpacctlogacct

Runningsocklog-confwith the 1st argumentucspi-tcp,socklog-confcreates the service directory/etc/sv/socklog-ucspi-tcpand the log directory/var/log/socklog-ucspi-tcp.

socklog-confarranges fortcpsvd(1)to runsocklog(8)under the uid and gid ofacctand to listen on the TCP socket0.0.0.0:10116.

It also creates automatically rotated log directories in/var/log/socklog-ucspi-tcp.The logs are owned bylogacct.The correspondingsvlogd(8)process runs under the uid and gid oflogacct.

You can run the service underrunsvdir(8)by creating a symbolic link in the service directory:

ln -s /etc/sv/socklog-ucspi-tcp /var/service/

 

NOTIFY SERVICE

socklog-confnotifyacctgrp

Runningsocklog-confwith the 1st argumentnotify,socklog-confcreates the service directory/etc/sv/socklog-notify.

socklog-confarranges foruncat(1)to run under the uid and gid ofacctand to listen on the named pipe/var/log/socklog/.notify.The named pipe will have mode 0620, the uid ofacctand the gid ofgrp.

All uids running a log service that is configured to push log events to thesocklog-notify service must be member of the groupgrp.

You can run the service underrunsvdir(8)by creating a symbolic link in the service directory:

ln -s /etc/sv/socklog-notify /var/service/

 

SEE ALSO

socklog(8),svlogd(8),nc(1),tryto(1),uncat(1),socklog-check(8),tcpsvd(8),sv(8),runsv(8),runsvdir(8)


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

AUTHOR

Gerrit Pape <papeAATTsmarden.org>


 

Index

NAME
SYNOPSIS
DESCRIPTION
UNIX SERVICE
INET SERVICE
KLOG SERVICE
UCSPI-TCP SERVICE
NOTIFY SERVICE
SEE ALSO
AUTHOR

This document was created byman2html,using the manual pages.