summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-05-03 17:02:59 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-05-07 08:44:36 -0400
commit105369a46b6baf94aec5382cad6c70509e3ce1fc (patch)
treea22cb44ac5180185bbb813e000b835d4a51e4639 /doc
parent6e6e9f2551a4b9be255ebbe1528126916b7d34e1 (diff)
gnu: Add postgresql-service.
* gnu/services/databases.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi ("Database Services"): New subsubsection.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 1b1690a8e3..2d02a04f9c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -4652,6 +4652,7 @@ declaration.
* Networking Services:: Network setup, SSH daemon, etc.
* X Window:: Graphical display.
* Desktop Services:: D-Bus and desktop services.
+* Database Services:: SQL databases.
* Various Services:: Other services.
@end menu
@@ -5046,6 +5047,20 @@ tool. See @uref{http://www.freedesktop.org/software/colord/, the colord web
site} for more information.
@end deffn
+@node Database Services
+@subsubsection Database Services
+
+The @code{(gnu services databases)} module provides the following service.
+
+@deffn {Monadic Procedure} postgresql-service [#:postgresql postgresql] @
+ [#:config-file] [#:data-directory ``/var/lib/postgresql/data'']
+Return a service that runs @var{postgresql}, the PostgreSQL database
+server.
+
+The PostgreSQL daemon loads its runtime configuration from
+@var{config-file} and stores the database cluster in
+@var{data-directory}.
+@end deffn
@node Various Services
@subsubsection Various Services