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.master
parent
96d5a20607
commit
77ed06a8bf
|
@ -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
|
||||
|
|
Reference in New Issue