Skip to content

Commit

Permalink
There
Browse files Browse the repository at this point in the history
  • Loading branch information
JDJGInc authored Apr 25, 2024
1 parent 00c058a commit d7462c2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
File renamed without changes.
16 changes: 16 additions & 0 deletions OauthServer.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Unit]
Description=Runs the FastApi Oauth Service
After=network-online.target
StartLimitIntervalSec = 1day
StartLimitBurst = 50

[Service]
ExecStart=/path/to/python -u server.py
WorkingDirectory=/path/to/working/directory
EnvironmentFile=/path/to/env/.env
Restart=on-failure
RestartSec=15


[Install]
WantedBy=default.target

0 comments on commit d7462c2

Please sign in to comment.