Измненеие сборки версии 2.0.0
All checks were successful
Build / Build project (push) Successful in 57s
All checks were successful
Build / Build project (push) Successful in 57s
Исходный код взят с GitHub с последними актуальными коммитами. Добавлена русскоязычная документация. Пути к конфигурационным файлам заданы по умолчанию в /usr/share/defaults/etc/openslp, но могут переопределяться в /etc/openslp.
This commit is contained in:
parent
2ce0a0601c
commit
af925eca6d
18 changed files with 413 additions and 213 deletions
42
files/man/en/slpd.8
Normal file
42
files/man/en/slpd.8
Normal file
|
@ -0,0 +1,42 @@
|
|||
.TH SLPD "8" "March 2025" "slpd 2.0.0" "System Administration Utilities"
|
||||
.SH NAME
|
||||
slpd \- SLP daemon
|
||||
.SH SYNOPSIS
|
||||
.B slpd
|
||||
[\-d] [\-c configfile] [\-l logfile] [\-r registrationfile] [\-s spifile] [\-p pidfile] [\-v version]
|
||||
.SH OPTIONS
|
||||
.IP
|
||||
.TP
|
||||
.BI \-d\fR
|
||||
Don't detach from the controlling tty.
|
||||
.TP
|
||||
.BI \-c\ configfile \fR
|
||||
Use
|
||||
.IR configfile
|
||||
as the file slpd reads to obtain configuration information, rather than the default,
|
||||
.IR /usr/share/defaults/etc/openslp/slp.conf
|
||||
or
|
||||
.IR /etc/openslp/slp.conf .
|
||||
.TP
|
||||
.BI \-l\ logfile \fR
|
||||
Use
|
||||
.IR logfile
|
||||
as the file that slpd reads to write log messages, rather than the default,
|
||||
.IR /var/log/slpd.log .
|
||||
.TP
|
||||
.BI \-l\ registrationfile \fR
|
||||
Use
|
||||
.IR registrationfile
|
||||
as the file that slpd reads to obtain static registrations, rather than the default,
|
||||
.IR /usr/share/defaults/etc/openslp/slp.reg
|
||||
or
|
||||
.IR /etc/openslp/slp.reg .
|
||||
.TP
|
||||
.BI \-l\ pidfile \fR
|
||||
Use
|
||||
.IR pidfile
|
||||
as the file that holds the slpd process id, rather than the default,
|
||||
.IR /var/run/slpd.pid .
|
||||
.TP
|
||||
.BI \-v\fR
|
||||
Show slpd version and compile options.
|
63
files/man/en/slptool.1
Normal file
63
files/man/en/slptool.1
Normal file
|
@ -0,0 +1,63 @@
|
|||
.TH SLPTOOL "1" "May 2013" "slptool 2.0.beta2" "User Commands"
|
||||
.SH NAME
|
||||
slptool \- SLP command line tool
|
||||
.SH SYNOPSIS
|
||||
.B slptool
|
||||
[\fIoptions\fR] \fIcommand-and-arguments\fR
|
||||
.SH OPTIONS
|
||||
.IP
|
||||
options may be:
|
||||
.HP
|
||||
\fB\-v\fR (or \fB\-\-version\fR) displays the versions of slptool and OpenSLP.
|
||||
.HP
|
||||
\fB\-s\fR (or \fB\-\-scope\fR) followed by a comma\-separated list of scopes.
|
||||
.HP
|
||||
\fB\-l\fR (or \fB\-\-language\fR) followed by a language tag.
|
||||
.HP
|
||||
\fB\-t\fR (or \fB\-\-time\fR) followed by a lifetime tag.
|
||||
.HP
|
||||
\fB\-i\fR (or \fB\-\-interfaces\fR) followed by a comma\-separated list of interfaces.
|
||||
.HP
|
||||
\fB\-u\fR (or \fB\-\-unicastifc\fR) followed by a single interface.
|
||||
.IP
|
||||
command\-and\-arguments may be:
|
||||
.IP
|
||||
.HP
|
||||
findsrvs service\-type [filter]
|
||||
.HP
|
||||
findattrs url [attrids]
|
||||
.HP
|
||||
findsrvtypes [authority]
|
||||
.HP
|
||||
findscopes
|
||||
.HP
|
||||
register url [attrs]
|
||||
.HP
|
||||
deregister url
|
||||
.HP
|
||||
getproperty propertyname
|
||||
.SH EXAMPLES
|
||||
.IP
|
||||
.HP
|
||||
slptool register service:myserv.x://myhost.com "(attr1=val1),(attr2=val2)"
|
||||
.HP
|
||||
slptool findsrvs service:myserv.x
|
||||
.HP
|
||||
slptool findsrvs service:myserv.x "(attr1=val1)"
|
||||
.HP
|
||||
slptool \fB\-i\fR 10.77.13.240,192.168.250.240 findsrvs service:myserv.x
|
||||
.HP
|
||||
slptool \fB\-u\fR 10.77.13.237 findsrvs service:myserv.x "(attr1=val1)"
|
||||
.HP
|
||||
slptool findattrs service:myserv.x://myhost.com
|
||||
.HP
|
||||
slptool findattrs service:myserv.x://myhost.com attr1
|
||||
.HP
|
||||
slptool \fB\-i\fR 10.77.13.243 findattrs service:myserv.x://myhost.com attr1
|
||||
.HP
|
||||
slptool \fB\-u\fR 10.77.13.237 findattrs service:myserv.x://myhost.com attr1
|
||||
.HP
|
||||
slptool deregister service:myserv.x://myhost.com
|
||||
.HP
|
||||
slptool getproperty net.slp.useScopes
|
||||
.PP
|
Loading…
Add table
Add a link
Reference in a new issue