Files
lix/misc/systemd/daemon@.service.in
T
eldritch horrors bdc220b8ec libstore: allow for multiple daemon sockets with preference
this will let us configure more than one socket to connect/bind to,
which in turn lets us use posix acls on sockets for access control.
we will also need something like this for the final rpc transition.

Change-Id: I9c39f14906e9bf809055ab5c94bf687745b4f69e
2026-01-26 18:17:07 +00:00

16 lines
420 B
Plaintext

[Unit]
Description=Nix Daemon instance
Documentation=man:nix-daemon https://docs.lix.systems/manual/lix/stable
CollectMode=inactive-or-failed
RequiresMountsFor=@storedir@
RequiresMountsFor=@localstatedir@
RequiresMountsFor=@localstatedir@/nix/db
[Service]
ExecStart=@@bindir@/nix-daemon nix-daemon --for-socket-activation
CacheDirectory=nix
LimitNOFILE=1048576
TasksMax=1048576
Delegate=yes
DelegateSubgroup=supervisor