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
16 lines
420 B
Plaintext
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
|