fix bugs
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=ChanLun Web Application
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=<用户名>
|
||||
Group=<用户组>
|
||||
WorkingDirectory=/path/to/user_data/Chan/web
|
||||
ExecStart=/usr/local/bin/gunicorn -w 4 -b 0.0.0.0:8123 app:app
|
||||
Restart=on-failure
|
||||
StandardOutput=file:/path/to/user_data/Chan/web/logs/output.log
|
||||
StandardError=file:/path/to/user_data/Chan/web/logs/error.log
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user