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 @@ + +[Unit] +Description=gunicorn1 +After=network.target + +[Service] +User=www-data +Group=www-data +WorkingDirectory=/var/www +ExecStart=/usr/local/bin/gunicorn --workers 3 --bind 0.0.0.0:5000 app1:app + +[Install] +WantedBy=multi-user.target + |
