Skip to content

Commit 51ad881

Browse files
Merge pull request #56 from TIOJ-INFOR-Online-Judge/fix/obsolete-service-options
Fix obsolete systemd service options
2 parents 4509c78 + cba4bd4 commit 51ad881

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ After=syslog.target network.target
255255
256256
[Service]
257257
Type=simple
258-
StandardOut=syslog
259-
StandardError=syslog
258+
StandardOutput=journal
259+
StandardError=journal
260260
SyslogIdentifier=tioj-judge
261261
ExecStart=/usr/bin/nice -n -10 tioj-judge -v
262262
ExecStop=/bin/kill -s INT \$MAINPID

0 commit comments

Comments
 (0)