Added 5min timeout to wait for service to stop
This commit is contained in:
parent
d50198cbff
commit
78300b998e
@ -7,6 +7,7 @@ After=network.target
|
||||
ExecStart={{template "Backend.ExecCommandTemplate" .}}
|
||||
User={{.Backend.SystemUser}}
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=300
|
||||
WorkingDirectory={{.Env.BackendInstallPath}}/{{.Coin.Alias}}
|
||||
{{if eq .Backend.ServiceType "forking" -}}
|
||||
Type=forking
|
||||
|
||||
@ -9,6 +9,7 @@ ExecStart={{.Env.BlockbookInstallPath}}/{{.Coin.Alias}}/bin/blockbook -blockchai
|
||||
User={{.Blockbook.SystemUser}}
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=300
|
||||
WorkingDirectory={{.Env.BlockbookInstallPath}}/{{.Coin.Alias}}
|
||||
|
||||
# Resource limits
|
||||
|
||||
Loading…
Reference in New Issue
Block a user