Skip to content

Commit

Permalink
Add missing gunicorn-userportal.service
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Jul 28, 2023
1 parent acda8db commit e58acd0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions site/profile/files/userportal/gunicorn-userportal.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[Unit]
Description=gunicorn daemon for the userportal
After=network.target

[Service]
User=apache
Group=apache
RuntimeDirectory=gunicorn
WorkingDirectory=/var/www/userportal/
ExecStart=/var/www/userportal-env/bin/gunicorn --bind 127.0.0.1:8001 --workers 2 --timeout 90 userportal.wsgi
ExecReload=/bin/kill -s HUP $MAINPID
KillMode=mixed
TimeoutStopSec=5
PrivateTmp=true

[Install]
WantedBy=multi-user.target

0 comments on commit e58acd0

Please sign in to comment.