From 73f7ef922bd5d26c25370c3f19395483e4517f86 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Tue, 24 Dec 2024 18:23:21 +0100 Subject: shepherd: use modern api --- shepherd/shepherd/init.d/exercise.scm | 2 +- shepherd/shepherd/init.d/redshift.scm | 2 +- shepherd/shepherd/init.scm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'shepherd') diff --git a/shepherd/shepherd/init.d/exercise.scm b/shepherd/shepherd/init.d/exercise.scm index c00b879..2d07053 100644 --- a/shepherd/shepherd/init.d/exercise.scm +++ b/shepherd/shepherd/init.d/exercise.scm @@ -14,4 +14,4 @@ exercise. Dude, come on" #:respawn? #t)) (register-services exercise) -(start exercise) +(start-service exercise) diff --git a/shepherd/shepherd/init.d/redshift.scm b/shepherd/shepherd/init.d/redshift.scm index 505f540..9694128 100644 --- a/shepherd/shepherd/init.d/redshift.scm +++ b/shepherd/shepherd/init.d/redshift.scm @@ -13,4 +13,4 @@ working in front of the screen at night." #:respawn? #t)) (register-services redshift) -(start redshift) +(start-service redshift) diff --git a/shepherd/shepherd/init.scm b/shepherd/shepherd/init.scm index 126684b..ff1fa7f 100644 --- a/shepherd/shepherd/init.scm +++ b/shepherd/shepherd/init.scm @@ -10,4 +10,4 @@ (string-suffix? ".scm" file)))) ;; Send shepherd into the background -(action 'shepherd 'daemonize) +(perform-service-action root-service 'daemonize) -- cgit v1.2.3