[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: services: sysctl: Make service one-shot.
From: |
guix-commits |
Subject: |
01/01: services: sysctl: Make service one-shot. |
Date: |
Wed, 20 Nov 2019 14:28:19 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 77ed06a8bf049827c45e6208475ac9527eb423ea
Author: Efraim Flashner <address@hidden>
Date: Sat Nov 16 23:33:31 2019 +0200
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(-)
diff --git a/gnu/services/sysctl.scm b/gnu/services/sysctl.scm
index 5e9e6f0..eb7a61b 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