summaryrefslogtreecommitdiff
path: root/etc/launchd/org.apache.couchdb.plist.tpl.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/launchd/org.apache.couchdb.plist.tpl.in')
-rw-r--r--etc/launchd/org.apache.couchdb.plist.tpl.in29
1 files changed, 29 insertions, 0 deletions
diff --git a/etc/launchd/org.apache.couchdb.plist.tpl.in b/etc/launchd/org.apache.couchdb.plist.tpl.in
new file mode 100644
index 00000000..ac0c89fd
--- /dev/null
+++ b/etc/launchd/org.apache.couchdb.plist.tpl.in
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
+ "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!-- @configure_input@ -->
+<plist version="1.0">
+ <dict>
+ <key>Label</key>
+ <string>org.apache.couchdb</string>
+ <key>EnvironmentVariables</key>
+ <dict>
+ <key>HOME</key>
+ <string>~</string>
+ <key>DYLD_LIBRARY_PATH</key>
+ <string>/opt/local/lib:$DYLD_LIBRARY_PATH</string>
+ </dict>
+ <key>ProgramArguments</key>
+ <array>
+ <string>%bindir%/%couchdb_command_name%</string>
+ </array>
+ <key>UserName</key>
+ <string>couchdb</string>
+ <key>RunAtLoad</key>
+ <true/>
+ <key>KeepAlive</key>
+ <true/>
+ <key>OnDemand</key>
+ <false/>
+ </dict>
+</plist>