summaryrefslogtreecommitdiff
path: root/gnu/services.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-10 23:23:32 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-10 23:23:32 +0100
commitfdaacbad85a23f89db9431477684fb1333de03f3 (patch)
tree6817ad6bfc18cde17837f14bd1d29980589e4519 /gnu/services.scm
parent03920078d5073a9b0674b01f3e4d1f5b082a5195 (diff)
downloadgnu-guix-fdaacbad85a23f89db9431477684fb1333de03f3.tar
gnu-guix-fdaacbad85a23f89db9431477684fb1333de03f3.tar.gz
services: Add 'auto-start?' field to <service>.
* gnu/services.scm (<service>)[auto-start?]: New field. * gnu/services/dmd.scm (dmd-configuration-file): Honor it. * gnu/system/install.scm (cow-store-service): Add 'auto-start?' field.
Diffstat (limited to 'gnu/services.scm')
-rw-r--r--gnu/services.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/services.scm b/gnu/services.scm
index 37ecc019ec..43e51b998c 100644
--- a/gnu/services.scm
+++ b/gnu/services.scm
@@ -27,6 +27,7 @@
service-respawn?
service-start
service-stop
+ service-auto-start?
service-activate
service-user-accounts
service-user-groups
@@ -51,6 +52,8 @@
(start service-start) ; g-expression (procedure)
(stop service-stop ; g-expression (procedure)
(default #~(const #f)))
+ (auto-start? service-auto-start? ; Boolean
+ (default #t))
(user-accounts service-user-accounts ; list of <user-account>
(default '()))
(user-groups service-user-groups ; list of <user-groups>