forked from I2P_Developers/i2p.i2p
Really send HUP signal when called with the graceful parameter
This commit is contained in:
@@ -1099,7 +1099,7 @@ graceful() {
|
|||||||
# Running so try to stop it.
|
# Running so try to stop it.
|
||||||
# This sends HUP. router.gracefulHUP must be set in router.config,
|
# This sends HUP. router.gracefulHUP must be set in router.config,
|
||||||
# or else this will do the same as stop.
|
# or else this will do the same as stop.
|
||||||
kill $pid
|
kill -HUP $pid
|
||||||
if [ $? -ne 0 ]
|
if [ $? -ne 0 ]
|
||||||
then
|
then
|
||||||
# An explanation for the failure should have been given
|
# An explanation for the failure should have been given
|
||||||
|
Reference in New Issue
Block a user