mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: Remove Tailon services and documentation.
The tailon package was removed in 63023deaf9,
but the associated service and documentation weren’t, leading to `guix pull`
breaking.
Fixes guix/guix#2689.
* doc/guix.texi: Remove Tailon documentation.
* gnu/services/web.scm (tailon-service-type): Delete variable.
(tailon-configuration-file): Delete variable.
(tailon-configuration-file?): Delete variable.
(tailon-configuration-file-files): Delete variable.
(tailon-configuration-file-bind): Delete variable.
(tailon-configuration-file-relative-root): Delete variable.
(tailon-configuration-file-allow-transfers?): Delete variable.
(tailon-configuration-file-follow-names?): Delete variable.
(tailon-configuration-file-tail-lines): Delete variable.
(tailon-configuration-file-allowed-commands): Delete variable.
(tailon-configuration-file-debug?): Delete variable.
(tailon-configuration-file-http-auth): Delete variable.
(tailon-configuration-file-users): Delete variable
(tailon-configuration): Delete variable.
(tailon-configuration?): Delete variable.
(tailon-configuration-config-file): Delete variable.
(tailon-configuration-package): Delete variable.
* gnu/tests/web.scm (%test-tailon): Delete variable.
Change-Id: I3b507df8233b0440baa6a2bce4604b5813cb3bb0
This commit is contained in:
108
doc/guix.texi
108
doc/guix.texi
@@ -32940,114 +32940,6 @@ Defaults to @samp{#t}.
|
||||
@node Monitoring Services
|
||||
@subsection Monitoring Services
|
||||
|
||||
@subsubheading Tailon Service
|
||||
|
||||
@uref{https://tailon.readthedocs.io/, Tailon} is a web application for
|
||||
viewing and searching log files.
|
||||
|
||||
The following example will configure the service with default values.
|
||||
By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080}).
|
||||
|
||||
@lisp
|
||||
(service tailon-service-type)
|
||||
@end lisp
|
||||
|
||||
The following example customises more of the Tailon configuration,
|
||||
adding @command{sed} to the list of allowed commands.
|
||||
|
||||
@lisp
|
||||
(service tailon-service-type
|
||||
(tailon-configuration
|
||||
(config-file
|
||||
(tailon-configuration-file
|
||||
(allowed-commands '("tail" "grep" "awk" "sed"))))))
|
||||
@end lisp
|
||||
|
||||
|
||||
@deftp {Data Type} tailon-configuration
|
||||
Data type representing the configuration of Tailon.
|
||||
This type has the following parameters:
|
||||
|
||||
@table @asis
|
||||
@item @code{config-file} (default: @code{(tailon-configuration-file)})
|
||||
The configuration file to use for Tailon. This can be set to a
|
||||
@dfn{tailon-configuration-file} record value, or any gexp
|
||||
(@pxref{G-Expressions}).
|
||||
|
||||
For example, to instead use a local file, the @code{local-file} function
|
||||
can be used:
|
||||
|
||||
@lisp
|
||||
(service tailon-service-type
|
||||
(tailon-configuration
|
||||
(config-file (local-file "./my-tailon.conf"))))
|
||||
@end lisp
|
||||
|
||||
@item @code{package} (default: @code{tailon})
|
||||
The tailon package to use.
|
||||
|
||||
@end table
|
||||
@end deftp
|
||||
|
||||
@deftp {Data Type} tailon-configuration-file
|
||||
Data type representing the configuration options for Tailon.
|
||||
This type has the following parameters:
|
||||
|
||||
@table @asis
|
||||
@item @code{files} (default: @code{(list "/var/log")})
|
||||
List of files to display. The list can include strings for a single file
|
||||
or directory, or a list, where the first item is the name of a
|
||||
subsection, and the remaining items are the files or directories in that
|
||||
subsection.
|
||||
|
||||
@item @code{bind} (default: @code{"localhost:8080"})
|
||||
Address and port to which Tailon should bind on.
|
||||
|
||||
@item @code{relative-root} (default: @code{#f})
|
||||
URL path to use for Tailon, set to @code{#f} to not use a path.
|
||||
|
||||
@item @code{allow-transfers?} (default: @code{#t})
|
||||
Allow downloading the log files in the web interface.
|
||||
|
||||
@item @code{follow-names?} (default: @code{#t})
|
||||
Allow tailing of not-yet existent files.
|
||||
|
||||
@item @code{tail-lines} (default: @code{200})
|
||||
Number of lines to read initially from each file.
|
||||
|
||||
@item @code{allowed-commands} (default: @code{(list "tail" "grep" "awk")})
|
||||
Commands to allow running. By default, @code{sed} is disabled.
|
||||
|
||||
@item @code{debug?} (default: @code{#f})
|
||||
Set @code{debug?} to @code{#t} to show debug messages.
|
||||
|
||||
@item @code{wrap-lines} (default: @code{#t})
|
||||
Initial line wrapping state in the web interface. Set to @code{#t} to
|
||||
initially wrap lines (the default), or to @code{#f} to initially not
|
||||
wrap lines.
|
||||
|
||||
@item @code{http-auth} (default: @code{#f})
|
||||
HTTP authentication type to use. Set to @code{#f} to disable
|
||||
authentication (the default). Supported values are @code{"digest"} or
|
||||
@code{"basic"}.
|
||||
|
||||
@item @code{users} (default: @code{#f})
|
||||
If HTTP authentication is enabled (see @code{http-auth}), access will be
|
||||
restricted to the credentials provided here. To configure users, use a
|
||||
list of pairs, where the first element of the pair is the username, and
|
||||
the 2nd element of the pair is the password.
|
||||
|
||||
@lisp
|
||||
(tailon-configuration-file
|
||||
(http-auth "basic")
|
||||
(users '(("user1" . "password1")
|
||||
("user2" . "password2"))))
|
||||
@end lisp
|
||||
|
||||
@end table
|
||||
@end deftp
|
||||
|
||||
|
||||
@subsubheading Darkstat Service
|
||||
@cindex darkstat
|
||||
Darkstat is a packet sniffer that captures network traffic, calculates
|
||||
|
||||
Reference in New Issue
Block a user