mirror of https://codeberg.org/anemofilia/zero
home-environments: radio: shepherd-services: Rename wake-up to alarm
parent
7d8670e770
commit
5969e305d8
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue