knox 修订了这个 Gist . 跳至此修订
1 file changed, 12 insertions
Llama-Deployment-17.ini(file created)
@@ -0,0 +1,12 @@ | |||
1 | + | [Unit] | |
2 | + | Description=gunicorn daemon | |
3 | + | After=network.target | |
4 | + | ||
5 | + | [Service] | |
6 | + | User=deployer | |
7 | + | Group=www-data | |
8 | + | WorkingDirectory=/home/deployer/llama | |
9 | + | ExecStart=/home/deployer/llama/venv/bin/gunicorn --access-logfile - --workers 3 --bind unix:/home/deployer/llama/llama.sock llama.wsgi:application | |
10 | + | ||
11 | + | [Install] | |
12 | + | WantedBy=multi-user.target |
更新
更早