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:
Efraim Flashner 2019-11-16 23:33:31 +02:00
parent 96d5a20607
commit 77ed06a8bf
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 1 additions and 2 deletions

View File

@ -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