aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/sysctl.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-11-16 23:33:31 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-11-20 21:23:19 +0200
commit77ed06a8bf049827c45e6208475ac9527eb423ea (patch)
tree6768bedbb0edc642413be16aa411285d71ed4a63 /gnu/services/sysctl.scm
parent96d5a206074c126bc42e463d9b17d49dd2e49e7c (diff)
downloadguix-77ed06a8bf049827c45e6208475ac9527eb423ea.tar
guix-77ed06a8bf049827c45e6208475ac9527eb423ea.tar.gz
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.
Diffstat (limited to 'gnu/services/sysctl.scm')
-rw-r--r--gnu/services/sysctl.scm3
1 files changed, 1 insertions, 2 deletions
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