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" .}}
|
ExecStart={{template "Backend.ExecCommandTemplate" .}}
|
||||||
User={{.Backend.SystemUser}}
|
User={{.Backend.SystemUser}}
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
TimeoutStopSec=300
|
||||||
WorkingDirectory={{.Env.BackendInstallPath}}/{{.Coin.Alias}}
|
WorkingDirectory={{.Env.BackendInstallPath}}/{{.Coin.Alias}}
|
||||||
{{if eq .Backend.ServiceType "forking" -}}
|
{{if eq .Backend.ServiceType "forking" -}}
|
||||||
Type=forking
|
Type=forking
|
||||||
|
|||||||
@ -9,6 +9,7 @@ ExecStart={{.Env.BlockbookInstallPath}}/{{.Coin.Alias}}/bin/blockbook -blockchai
|
|||||||
User={{.Blockbook.SystemUser}}
|
User={{.Blockbook.SystemUser}}
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
TimeoutStopSec=300
|
||||||
WorkingDirectory={{.Env.BlockbookInstallPath}}/{{.Coin.Alias}}
|
WorkingDirectory={{.Env.BlockbookInstallPath}}/{{.Coin.Alias}}
|
||||||
|
|
||||||
# Resource limits
|
# Resource limits
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user