summaryrefslogtreecommitdiff
path: root/gunicorn1.service
blob: 425c45395070686ed7654b9ccb9b677e5c1eb60d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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