Browse Source

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.
wip-system-bootstrap
Efraim Flashner 2 years ago
parent
commit
77ed06a8bf
Signed by: efraim GPG Key ID: 41AAE7DCCA3D8351
  1. 3
      gnu/services/sysctl.scm

3
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

Loading…
Cancel
Save