aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/base.scm
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-02-25 18:57:49 +0000
committerLudovic Courtès <ludo@gnu.org>2023-03-03 17:55:32 +0100
commitad665a38fc18ed7a6b8efb09086713b0e73e3781 (patch)
tree8c7e2a5eef39cf595beac9b41d48c76cb8539aa8 /gnu/services/base.scm
parent6dd635b4cf7a65560056c1089982fe00f73e6468 (diff)
downloadguix-ad665a38fc18ed7a6b8efb09086713b0e73e3781.tar
guix-ad665a38fc18ed7a6b8efb09086713b0e73e3781.tar.gz
services: base: Deprecate 'mingetty-service' procedure.
* doc/guix.texi (Base Services): Replace mingetty-service with mingetty-service-type. * gnu/services/base.scm (mingetty-service): Deprecate procedure. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/services/base.scm')
-rw-r--r--gnu/services/base.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 8dfd92aacf..c762485054 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -173,7 +173,7 @@
mingetty-configuration-clear-on-logout?
mingetty-configuration-mingetty
mingetty-configuration?
- mingetty-service
+ mingetty-service ; deprecated
mingetty-service-type
%nscd-default-caches
@@ -1275,7 +1275,8 @@ the tty to run, among other things."
"Provide console login using the @command{mingetty}
program.")))
-(define* (mingetty-service config)
+(define-deprecated (mingetty-service config)
+ mingetty-service-type
"Return a service to run mingetty according to @var{config}, which specifies
the tty to run, among other things."
(service mingetty-service-type config))