summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2024-12-24 18:23:21 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2024-12-24 18:23:21 +0100
commit73f7ef922bd5d26c25370c3f19395483e4517f86 (patch)
tree4ffb5b9f1621947e9eaeea9082c6d7fbc17325fc
parente32c203e55b9f909572fa4378ef19644e607d189 (diff)
shepherd: use modern api
-rw-r--r--shepherd/shepherd/init.d/exercise.scm2
-rw-r--r--shepherd/shepherd/init.d/redshift.scm2
-rw-r--r--shepherd/shepherd/init.scm2
3 files changed, 3 insertions, 3 deletions
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)