26e56780ca
(plus one reference to CppNix github) Change-Id: Id8b3d2897f3b54e286861805cfd421adc4d5de47
16 lines
419 B
SYSTEMD
16 lines
419 B
SYSTEMD
[Unit]
|
|
Description=Nix Daemon
|
|
Documentation=man:nix-daemon https://docs.lix.systems/manual/lix/stable
|
|
RequiresMountsFor=@storedir@
|
|
RequiresMountsFor=@localstatedir@
|
|
RequiresMountsFor=@localstatedir@/nix/db
|
|
ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
|
|
|
|
[Service]
|
|
ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
|
|
KillMode=process
|
|
LimitNOFILE=1048576
|
|
TasksMax=1048576
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|