Skip to content

Commit

Permalink
Updating Service Files, removal of nohup in order to be able to use j…
Browse files Browse the repository at this point in the history
…ournalctl
  • Loading branch information
ooemperor committed Apr 29, 2024
1 parent 8c9762a commit eac7b36
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 /opt/CodeGrader_venv/bin/cgAdminFrontend > /var/log/cgAdminFrontend.log &
ExecStart=/opt/CodeGrader_venv/bin/cgAdminFrontend
# 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 /opt/CodeGrader_venv/bin/cgApiBackend > /var/log/cgApiBackend.log &
ExecStart=/opt/CodeGrader_venv/bin/cgApiBackend
# 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 /opt/CodeGrader_venv/bin/cgEvaluationService > /var/log/cgEvaluationService.log &
ExecStart=/opt/CodeGrader_venv/bin/cgEvaluationService
# 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 /opt/CodeGrader_venv/bin/cgExecutionService > /var/log/cgExecutionService.log &
ExecStart=/opt/CodeGrader_venv/bin/cgExecutionService
# 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 /opt/CodeGrader_venv/bin/cgUserFrontend > /var/log/cgUserFrontend.log &
ExecStart=/opt/CodeGrader_venv/bin/cgUserFrontend
# optional items below
Restart=always
RestartSec=3
Expand Down

0 comments on commit eac7b36

Please sign in to comment.