Skip to content

Commit

Permalink
Adding missing gunicorn-wwdtmgraphs.service.dist
Browse files Browse the repository at this point in the history
  • Loading branch information
questionlp committed Apr 30, 2022
1 parent 64d4b47 commit 9fad426
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions gunicorn-wwdtmgraphs.service.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[Unit]
Description=Wait Wait Graphs Shite Web Application
After=network.target

[Service]
; Set the user and group the service should run as
User=
Group=

; Set to base location of the application directory
WorkingDirectory=

; Add the full path to the application's venv/bin directory
; to PATH
Environment="PATH="

; Also add the full path to the application's venv/bin directory
; before 'gunicorn'
ExecStart=gunicorn graphs:app

; Uncomment the following two lines to enable auto-restart
; on application failure
Restart=on-failure
RestartSec=10s

[Install]
WantedBy=multi-user.target

0 comments on commit 9fad426

Please sign in to comment.