diff options
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 + |
