summary refs log tree commit diff
path: root/gnu/services/ganeti.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-10-09 02:33:41 +0200
committerMarius Bakke <marius@gnu.org>2021-10-11 18:59:44 +0200
commitfafa127d80d41df8afe96357ab30ec3dc6499122 (patch)
tree6187158e04a8738d3415635005df29080a194f6e /gnu/services/ganeti.scm
parent9015a9a906f487bdedcbe028be023e8bee611c5a (diff)
downloadguix-fafa127d80d41df8afe96357ab30ec3dc6499122.tar.gz
services: ganeti: Don't start the metadata daemon automatically.
* gnu/services/ganeti.scm (ganeti-metad-service)[auto-start?]: New field.
Diffstat (limited to 'gnu/services/ganeti.scm')
-rw-r--r--gnu/services/ganeti.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/services/ganeti.scm b/gnu/services/ganeti.scm
index 0a34ea6a5e..ef22d1a331 100644
--- a/gnu/services/ganeti.scm
+++ b/gnu/services/ganeti.scm
@@ -612,7 +612,11 @@ provide the collected information through a HTTP interface.")))
             (documentation "Run the Ganeti metadata daemon.")
             (provision '(ganeti-metad))
             (requirement '(user-processes networking))
+
+            ;; This service is started on demand.
+            (auto-start? #f)
             (respawn? #f)
+
             (start #~(make-forkexec-constructor
                       (list #$(file-append ganeti "/sbin/ganeti-metad")
                             #$(string-append "--port=" (number->string port))