Skip to content

Commit 3374a26

Browse files
committed
[SAT] Adds systemd service to the project
1 parent 350b64c commit 3374a26

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

sat/services/uwsgi.service

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[Unit]
2+
Description=SAT service
3+
After=network.target
4+
5+
[Service]
6+
User=sat
7+
WorkingDirectory=/home/sat/github/sat/
8+
Environment="PATH=/home/sat/.conda/envs/sat/bin/python"
9+
ExecStart=/home/sat/.conda/envs/sat/bin/uwsgi --ini /home/sat/github/sat/uwsgi.ini
10+
Restart=on-failure
11+
12+
[Install]
13+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)