about summary refs log tree commit diff
path: root/misc/launchd/org.nixos.nix-daemon.plist.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-04T09·14+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-04T09·30+0100
commitbbf294cceb58182333faf0c62b57f0f5dece46e9 (patch)
tree0e21f3b9ae4c27b6308ac3241f5104c99241a3eb /misc/launchd/org.nixos.nix-daemon.plist.in
parent6f6b75cd096af3ba68d9bed154e7d71d85582ea9 (diff)
Add a launchd configuration file to run nix-daemon
Diffstat (limited to 'misc/launchd/org.nixos.nix-daemon.plist.in')
-rw-r--r--misc/launchd/org.nixos.nix-daemon.plist.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in
new file mode 100644
index 000000000000..2e76947ea9e5
--- /dev/null
+++ b/misc/launchd/org.nixos.nix-daemon.plist.in
@@ -0,0 +1,16 @@
+<?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>