mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
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.
This commit is contained in:
parent
96d5a20607
commit
77ed06a8bf
1 changed files with 1 additions and 2 deletions
|
@ -59,8 +59,7 @@ (define sysctl-shepherd-service
|
|||
(provision '(sysctl))
|
||||
(start #~(lambda _
|
||||
(zero? (system* #$sysctl "--load" #$sysctl.conf))))
|
||||
(stop #~(const #t))
|
||||
(respawn? #f))))))
|
||||
(one-shot? #t))))))
|
||||
|
||||
(define sysctl-service-type
|
||||
(service-type
|
||||
|
|
Loading…
Reference in a new issue