diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-11-10 23:23:32 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-11-10 23:23:32 +0100 |
commit | fdaacbad85a23f89db9431477684fb1333de03f3 (patch) | |
tree | 6817ad6bfc18cde17837f14bd1d29980589e4519 /gnu/services | |
parent | 03920078d5073a9b0674b01f3e4d1f5b082a5195 (diff) | |
download | gnu-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')
-rw-r--r-- | gnu/services/dmd.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/services/dmd.scm b/gnu/services/dmd.scm index 59c2373779..35b6b384c1 100644 --- a/gnu/services/dmd.scm +++ b/gnu/services/dmd.scm @@ -68,7 +68,9 @@ (setenv "PATH" "/run/current-system/profile/bin") (format #t "starting services...~%") - (for-each start '#$(append-map service-provision services)))) + (for-each start + '#$(append-map service-provision + (filter service-auto-start? services))))) (gexp->file "dmd.conf" config))) |