-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy pathcom.chatgpt2api.app.plist.example
More file actions
41 lines (36 loc) · 1.05 KB
/
Copy pathcom.chatgpt2api.app.plist.example
File metadata and controls
41 lines (36 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?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.chatgpt2api.app</string>
<key>ProgramArguments</key>
<array>
<string>__APP_DIR__/.venv/bin/python</string>
<string>-m</string>
<string>uvicorn</string>
<string>main:app</string>
<string>--host</string>
<string>127.0.0.1</string>
<string>--port</string>
<string>8000</string>
</array>
<key>WorkingDirectory</key>
<string>__APP_DIR__</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
<key>PYTHONUNBUFFERED</key>
<string>1</string>
</dict>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>__APP_DIR__/logs/chatgpt2api-launchd.log</string>
<key>StandardErrorPath</key>
<string>__APP_DIR__/logs/chatgpt2api-launchd.error.log</string>
</dict>
</plist>