Skip to content

Commit

Permalink
chaning paths in service files to use python venv
Browse files Browse the repository at this point in the history
  • Loading branch information
ooemperor committed Apr 27, 2024
1 parent faae37b commit 43ed597
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion services/cgAdminFrontend.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ After=network.target
[Service]
User=root
WorkingDirectory=/
ExecStart=nohup cgAdminFrontend > /var/log/cgAdminFrontend.log &
ExecStart=nohup /opt/CodeGrader_venv/bin/cgAdminFrontend > /var/log/cgAdminFrontend.log &
# optional items below
Restart=always
RestartSec=3
Expand Down
2 changes: 1 addition & 1 deletion services/cgApiBackend.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ After=network.target
[Service]
User=root
WorkingDirectory=/
ExecStart=nohup cgApiBackend > /var/log/cgApiBackend.log &
ExecStart=nohup /opt/CodeGrader_venv/bin/cgApiBackend > /var/log/cgApiBackend.log &
# optional items below
Restart=always
RestartSec=3
Expand Down
2 changes: 1 addition & 1 deletion services/cgEvaluationService.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ After=network.target
[Service]
User=root
WorkingDirectory=/
ExecStart=nohup cgEvaluationService > /var/log/cgEvaluationService.log &
ExecStart=nohup /opt/CodeGrader_venv/bin/cgEvaluationService > /var/log/cgEvaluationService.log &
# optional items below
Restart=always
RestartSec=3
Expand Down
2 changes: 1 addition & 1 deletion services/cgExecutionService.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ After=network.target
[Service]
User=root
WorkingDirectory=/
ExecStart=nohup cgExecutionService > /var/log/cgExecutionService.log &
ExecStart=nohup /opt/CodeGrader_venv/bin/cgExecutionService > /var/log/cgExecutionService.log &
# optional items below
Restart=always
RestartSec=3
Expand Down
2 changes: 1 addition & 1 deletion services/cgUserFrontend.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ After=network.target
[Service]
User=root
WorkingDirectory=/
ExecStart=nohup cgUserFrontend > /var/log/cgUserFrontend.log &
ExecStart=nohup /opt/CodeGrader_venv/bin/cgUserFrontend > /var/log/cgUserFrontend.log &
# optional items below
Restart=always
RestartSec=3
Expand Down

0 comments on commit 43ed597

Please sign in to comment.