We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7d6343 commit 307c67eCopy full SHA for 307c67e
0x1A-application_server/gunicorn.service
@@ -0,0 +1,14 @@
1
+[Unit]
2
+Description=Gunicorn instance to serve AirBnB Clone Project
3
+After=network.target
4
+After=syslog.target
5
+
6
+[Service]
7
+User=ubuntu
8
+Group=www-data
9
+WorkingDirectory=/home/ubuntu/AirBnB_clone_v4
10
+ExecStart=/home/ubuntu/.local/bin/gunicorn --workers 3 --bind 0.0.0.0:5003 web_dynamic.2-hbnb:app --access-logfile /tmp/airbnb-access.log --error-logfile /tmp/airbnb-error.log
11
+Restart=on-failure
12
13
+[Install]
14
+WantedBy=multi-user.target
0 commit comments