-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding missing gunicorn-wwdtmgraphs.service.dist
- Loading branch information
1 parent
64d4b47
commit 9fad426
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |