forked from j62/ctbrec
1
0
Fork 0

Add timeout to systemd service file

Increase the systemd timeout, so that it waits for ctbrec to finish the
post-processing.
Also changed SyslogIdentifier=ctbrec to reflect the real name instead of
a test name.
This commit is contained in:
0xb00bface 2020-09-29 13:33:50 +02:00
parent 099ccc9399
commit 1c55593e7f
1 changed files with 2 additions and 1 deletions

View File

@ -4,10 +4,11 @@ After=network.target
[Service]
WorkingDirectory=/opt/ctbrec
SyslogIdentifier=SocketTest
SyslogIdentifier=ctbrec
ExecStart=-/usr/bin/java -Xmx256m -cp ${name.final}.jar -Dctbrec.config=server.json ctbrec.recorder.server.HttpServer
User=ctbrec
Type=simple
TimeoutSec=900
[Install]
WantedBy=multi-user.target