Send SIGTERM instead of SIGHUP to OE daemon (#317)
* Send SIGTERM instead of SIGHUP to OE daemon * Address comments
This commit is contained in:
parent
a0f406e26b
commit
48e7d6cee4
@ -13,8 +13,9 @@ ExecStart=/usr/bin/openethereum --config /etc/openethereum/config.toml
|
||||
Restart=on-failure
|
||||
|
||||
# Specifies which signal to use when killing a service. Defaults to SIGTERM.
|
||||
# SIGHUP gives openethereum time to exit cleanly before SIGKILL (default 90s)
|
||||
KillSignal=SIGHUP
|
||||
# SIGTERM gives openethereum time to exit cleanly before sending SIGKILL
|
||||
KillSignal=SIGTERM
|
||||
TimeoutStopSec=300
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
Loading…
Reference in New Issue
Block a user