Send SIGTERM instead of SIGHUP to OE daemon (#317)

* Send SIGTERM instead of SIGHUP to OE daemon

* Address comments
main
Simon KP 2 years ago committed by GitHub
parent a0f406e26b
commit 48e7d6cee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save