lix/misc/systemd/nix-daemon.service.in

17 lines
419 B
SYSTEMD
Raw Normal View History

2014-04-07 11:18:54 +02:00
[Unit]
Description=Nix Daemon
Documentation=man:nix-daemon https://docs.lix.systems/manual/lix/stable
2014-04-07 11:18:54 +02:00
RequiresMountsFor=@storedir@
RequiresMountsFor=@localstatedir@
RequiresMountsFor=@localstatedir@/nix/db
2014-04-07 11:18:54 +02:00
ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
[Service]
ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
KillMode=process
LimitNOFILE=1048576
TasksMax=1048576
[Install]
WantedBy=multi-user.target