Skip to content
Snippets Groups Projects
Commit bbf294cc authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Add a launchd configuration file to run nix-daemon

parent 6f6b75cd
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ makefiles = \ ...@@ -17,6 +17,7 @@ makefiles = \
scripts/local.mk \ scripts/local.mk \
corepkgs/local.mk \ corepkgs/local.mk \
misc/systemd/local.mk \ misc/systemd/local.mk \
misc/launchd/local.mk \
misc/upstart/local.mk \ misc/upstart/local.mk \
misc/emacs/local.mk \ misc/emacs/local.mk \
doc/manual/local.mk \ doc/manual/local.mk \
......
ifeq ($(OS), Darwin)
$(eval $(call install-data-in, $(d)/org.nixos.nix-daemon.plist, $(prefix)/Library/LaunchDaemons))
endif
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.nixos.nix-daemon</string>
<key>RunAtLoad</key>
<true/>
<key>Program</key>
<string>@bindir@/nix-daemon</string>
<key>StandardErrorPath</key>
<string>/var/log/nix-daemin.log</string>
<key>StandardOutPath</key>
<string>/dev/null</string>
</dict>
</plist>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment