mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
18 lines
414 B
SYSTEMD
18 lines
414 B
SYSTEMD
[Unit]
|
|
Description=Nix Daemon
|
|
Documentation=man:nix-daemon https://nixos.org/manual
|
|
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
|
|
Delegate=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|