Skip to content

Commit

Permalink
[SAT] Adds systemd service to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
manrajgrover committed Dec 29, 2019
1 parent 350b64c commit 3374a26
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sat/services/uwsgi.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Unit]
Description=SAT service
After=network.target

[Service]
User=sat
WorkingDirectory=/home/sat/github/sat/
Environment="PATH=/home/sat/.conda/envs/sat/bin/python"
ExecStart=/home/sat/.conda/envs/sat/bin/uwsgi --ini /home/sat/github/sat/uwsgi.ini
Restart=on-failure

[Install]
WantedBy=multi-user.target

0 comments on commit 3374a26

Please sign in to comment.