mirror of https://codeberg.org/anemofilia/zero
buer: shepherd-services: Add repl
parent
55e3457d42
commit
a2da805db2
|
@ -1,10 +1,19 @@
|
||||||
(define-module (buer shepherd-services)
|
(define-module (buer shepherd-services)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
#:use-module (gnu services shepherd)
|
#:use-module (gnu services shepherd)
|
||||||
|
#:use-module (shepherd service repl)
|
||||||
#:use-module (shepherd service timer)
|
#:use-module (shepherd service timer)
|
||||||
|
|
||||||
#:export (guix-gc snapshot-@home timer))
|
#:export (guix-gc snapshot-@home repl timer))
|
||||||
|
|
||||||
|
#|Repl|#
|
||||||
|
(define repl
|
||||||
|
(shepherd-service
|
||||||
|
(provision '(repl))
|
||||||
|
(modules '((shepherd service repl)))
|
||||||
|
(free-form #~(repl-service))))
|
||||||
|
|
||||||
|
#|Timers|#
|
||||||
(define timer-trigger-action
|
(define timer-trigger-action
|
||||||
(shepherd-action
|
(shepherd-action
|
||||||
(name 'trigger)
|
(name 'trigger)
|
||||||
|
|
Loading…
Reference in New Issue