home-environments: radio: shepherd-services: Rename wake-up to alarm

main
Luis Guilherme Coelho 2024-11-27 06:34:59 -03:00
parent 7d8670e770
commit 5969e305d8
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
#:use-module (gnu services shepherd) #:use-module (gnu services shepherd)
#:use-module (shepherd service timer) #:use-module (shepherd service timer)
#:export (repl timer wake-up)) #:export (alarm repl timer))
#|Repl|# #|Repl|#
(define repl (define repl
@ -27,9 +27,9 @@
"Trigger the action associated with @var{timer} as if it had reached its "Trigger the action associated with @var{timer} as if it had reached its
next calendar event."))) next calendar event.")))
(define wake-up (define alarm
(shepherd-service (shepherd-service
(provision '(wake-up)) (provision '(alarm))
(modules '((shepherd service timer))) (modules '((shepherd service timer)))
(start #~(make-timer-constructor (start #~(make-timer-constructor
(calendar-event #:hours '(6) #:minutes '(0)) (calendar-event #:hours '(6) #:minutes '(0))