forked from j62/ctbrec
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:
parent
099ccc9399
commit
1c55593e7f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue