summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi52
1 files changed, 33 insertions, 19 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 72c3d43254..b0710ebf06 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -849,11 +849,6 @@ Support for build offloading (@pxref{Daemon Offload Setup}) and
version 0.13.0 or later.
@item
-When @url{https://www.nongnu.org/lzip/lzlib.html, lzlib} is available, lzlib
-substitutes can be used and @command{guix publish} can compress substitutes
-with lzlib.
-
-@item
When @url{http://www.bzip.org, libbz2} is available,
@command{guix-daemon} can use it to compress build logs.
@end itemize
@@ -15352,11 +15347,15 @@ gexps to introduce job definitions that are passed to mcron
(operating-system
;; @dots{}
- (services (cons (service mcron-service-type
- (mcron-configuration
- (jobs (list garbage-collector-job
- updatedb-job
- idutils-job))))
+
+ ;; %BASE-SERVICES already includes an instance of
+ ;; 'mcron-service-type', which we extend with additional
+ ;; jobs using 'simple-service'.
+ (services (cons (simple-service 'my-cron-jobs
+ mcron-service-type
+ (list garbage-collector-job
+ updatedb-job
+ idutils-job))
%base-services)))
@end lisp
@@ -19119,16 +19118,14 @@ is the key, and the remaining elements are the values.
@subsubheading MariaDB/MySQL
-@deffn {Scheme Procedure} mysql-service [#:config (mysql-configuration)]
-Return a service that runs @command{mysqld}, the MySQL or MariaDB
-database server.
-
-The optional @var{config} argument specifies the configuration for
-@command{mysqld}, which should be a @code{<mysql-configuration>} object.
-@end deffn
+@defvr {Scheme Variable} mysql-service-type
+This is the service type for a MySQL or MariaDB database server. Its value
+is a @code{mysql-configuration} object that specifies which package to use,
+as well as various settings for the @command{mysqld} daemon.
+@end defvr
@deftp {Data Type} mysql-configuration
-Data type representing the configuration of @var{mysql-service}.
+Data type representing the configuration of @var{mysql-service-type}.
@table @asis
@item @code{mysql} (default: @var{mariadb})
@@ -19138,8 +19135,25 @@ or @var{mysql}.
For MySQL, a temporary root password will be displayed at activation time.
For MariaDB, the root password is empty.
+@item @code{bind-address} (default: @code{"127.0.0.1"})
+The IP on which to listen for network connections. Use @code{"0.0.0.0"}
+to bind to all available network interfaces.
+
@item @code{port} (default: @code{3306})
TCP port on which the database server listens for incoming connections.
+
+@item @code{socket} (default: @code{"/run/mysqld/mysqld.sock"})
+Socket file to use for local (non-network) connections.
+
+@item @code{extra-content} (default: @code{""})
+Additional settings for the @file{my.cnf} configuration file.
+
+@item @code{auto-upgrade?} (default: @code{#t})
+Whether to automatically run @command{mysql_upgrade} after starting the
+service. This is necessary to upgrade the @dfn{system schema} after
+``major'' updates (such as switching from MariaDB 10.4 to 10.5), but can
+be disabled if you would rather do that manually.
+
@end table
@end deftp
@@ -19166,7 +19180,7 @@ The Memcached package to use.
Network interfaces on which to listen.
@item @code{tcp-port} (default: @code{11211})
-Port on which to accept connections on,
+Port on which to accept connections on.
@item @code{udp-port} (default: @code{11211})
Port on which to accept UDP connections on, a value of 0 will disable