about summary refs log blame commit diff
path: root/misc/systemd/nix-daemon.service.in
blob: 9bfb00e306b67d3b5131697f147196bf4302b006 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                          
                                       
                                         
[Unit]
Description=Nix Daemon
RequiresMountsFor=@storedir@
RequiresMountsFor=@localstatedir@
ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket

[Service]
ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
KillMode=process
Environment=XDG_CACHE_HOME=/root/.cache
Environment=XDG_CONFIG_HOME=/root/.config