1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

add shepherd service file

This commit is contained in:
unrooted 2022-06-03 20:38:50 +02:00
parent 746d37d985
commit a894729460

View file

@ -0,0 +1,11 @@
define nix-daemon
(make <service>
#:provides '(nix-daemon)
#:docstring "nix-daemon, the nix package manager's daemon"
#:start (make-forkexec-constructor
'("/nix/var/nix/profiles/default/bin/nix-daemon"))
#:stop (make-kill-destructor)
#:respawn? #t))
(register-services nix-daemon)
(start nix-daemon)