From 77ed06a8bf049827c45e6208475ac9527eb423ea Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 16 Nov 2019 23:33:31 +0200 Subject: services: sysctl: Make service one-shot. * gnu/services/sysctl.scm (sysctl-shepherd-service): Adjust shepherd service to use the 'one-shot?' keyword. Remove 'stop' command. Remove 'respawn' option. --- gnu/services/sysctl.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/services/sysctl.scm b/gnu/services/sysctl.scm index 5e9e6f0661..eb7a61b2a9 100644 --- a/gnu/services/sysctl.scm +++ b/gnu/services/sysctl.scm @@ -59,8 +59,7 @@ (provision '(sysctl)) (start #~(lambda _ (zero? (system* #$sysctl "--load" #$sysctl.conf)))) - (stop #~(const #t)) - (respawn? #f)))))) + (one-shot? #t)))))) (define sysctl-service-type (service-type -- cgit 1.4.1