diff options
| author | name <email here> | 2024-08-14 14:39:18 +0800 |
|---|---|---|
| committer | name <email here> | 2024-08-14 14:39:18 +0800 |
| commit | b1f88b682624e85b4b743343dfaaeed113b69413 (patch) | |
| tree | f5944621027aa5372782287041f07799ba57ed71 /gunicorn1.service | |
pushing configs, no automated setup yet
Diffstat (limited to 'gunicorn1.service')
| -rw-r--r-- | gunicorn1.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gunicorn1.service b/gunicorn1.service new file mode 100644 index 0000000..425c453 --- /dev/null +++ b/gunicorn1.service | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | |||
| 2 | [Unit] | ||
| 3 | Description=gunicorn1 | ||
| 4 | After=network.target | ||
| 5 | |||
| 6 | [Service] | ||
| 7 | User=www-data | ||
| 8 | Group=www-data | ||
| 9 | WorkingDirectory=/var/www | ||
| 10 | ExecStart=/usr/local/bin/gunicorn --workers 3 --bind 0.0.0.0:5000 app1:app | ||
| 11 | |||
| 12 | [Install] | ||
| 13 | WantedBy=multi-user.target | ||
| 14 | |||
