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]
|
[Service]
|
||||||
WorkingDirectory=/opt/ctbrec
|
WorkingDirectory=/opt/ctbrec
|
||||||
SyslogIdentifier=SocketTest
|
SyslogIdentifier=ctbrec
|
||||||
ExecStart=-/usr/bin/java -Xmx256m -cp ${name.final}.jar -Dctbrec.config=server.json ctbrec.recorder.server.HttpServer
|
ExecStart=-/usr/bin/java -Xmx256m -cp ${name.final}.jar -Dctbrec.config=server.json ctbrec.recorder.server.HttpServer
|
||||||
User=ctbrec
|
User=ctbrec
|
||||||
Type=simple
|
Type=simple
|
||||||
|
TimeoutSec=900
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue