Skip to content

Commit eac7b36

Browse files
committed
Updating Service Files, removal of nohup in order to be able to use journalctl
1 parent 8c9762a commit eac7b36

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

services/cgAdminFrontend.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After=network.target
55
[Service]
66
User=root
77
WorkingDirectory=/
8-
ExecStart=nohup /opt/CodeGrader_venv/bin/cgAdminFrontend > /var/log/cgAdminFrontend.log &
8+
ExecStart=/opt/CodeGrader_venv/bin/cgAdminFrontend
99
# optional items below
1010
Restart=always
1111
RestartSec=3

services/cgApiBackend.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After=network.target
55
[Service]
66
User=root
77
WorkingDirectory=/
8-
ExecStart=nohup /opt/CodeGrader_venv/bin/cgApiBackend > /var/log/cgApiBackend.log &
8+
ExecStart=/opt/CodeGrader_venv/bin/cgApiBackend
99
# optional items below
1010
Restart=always
1111
RestartSec=3

services/cgEvaluationService.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After=network.target
55
[Service]
66
User=root
77
WorkingDirectory=/
8-
ExecStart=nohup /opt/CodeGrader_venv/bin/cgEvaluationService > /var/log/cgEvaluationService.log &
8+
ExecStart=/opt/CodeGrader_venv/bin/cgEvaluationService
99
# optional items below
1010
Restart=always
1111
RestartSec=3

services/cgExecutionService.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After=network.target
55
[Service]
66
User=root
77
WorkingDirectory=/
8-
ExecStart=nohup /opt/CodeGrader_venv/bin/cgExecutionService > /var/log/cgExecutionService.log &
8+
ExecStart=/opt/CodeGrader_venv/bin/cgExecutionService
99
# optional items below
1010
Restart=always
1111
RestartSec=3

services/cgUserFrontend.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ After=network.target
55
[Service]
66
User=root
77
WorkingDirectory=/
8-
ExecStart=nohup /opt/CodeGrader_venv/bin/cgUserFrontend > /var/log/cgUserFrontend.log &
8+
ExecStart=/opt/CodeGrader_venv/bin/cgUserFrontend
99
# optional items below
1010
Restart=always
1111
RestartSec=3

0 commit comments

Comments
 (0)