第一个项目
This commit is contained in:
12
family_rpa/family_rpa.service
Normal file
12
family_rpa/family_rpa.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Gunicorn instance to serve family_rpa
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=xiaji
|
||||
Group=www-data
|
||||
WorkingDirectory=/project/family_rpa
|
||||
ExecStart=/project/family_rpa/venv/bin/gunicorn --workers 3 --bind unix:/project/family_rpa/family_rpa.sock family_rpa.wsgi:application
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user