diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-27 21:12:00 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-27 21:12:00 +0530 |
commit | 62ef381c57edc455b0c9b49b62afda76bc20d8fa (patch) | |
tree | d077717a2c5e715b296794cb4dd79cbcaa9201d4 | |
parent | 331bc297ab703dca36d915255c24b1802a0e8265 (diff) |
added launchd file
-rw-r--r-- | misc/curie.plist | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/misc/curie.plist b/misc/curie.plist new file mode 100644 index 0000000..5144df4 --- /dev/null +++ b/misc/curie.plist @@ -0,0 +1,30 @@ +<?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>com.navanchauhan.curieweb</string> + <key>WorkingDirectory</key> + <string>/Users/navanchauhan/Desktop/nCOV-19/scripts/PythonModule/web-interface/</string> + <key>StandardErrorPath</key> + <string>/tmp/curieweb.err</string> + <key>StandardOutPath</key> + <string>/tmp/curieweb.out</string> + <key>EnvironmentVariables</key> + <dict> + <key>PATH</key> + <string>/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin</string> + </dict> + <key>ProgramArguments</key> + <array> + <string>/usr/local/bin/gunicorn</string> + <string>api:app</string> + <string>-k</string> + <string>uvicorn.workers.UvicornWorker</string> + <string>-b</string> + <string>0.0.0.0:7589</string> + </array> + <key>KeepAlive</key> + <true/> +</dict> +</plist> |