Commit 320b6bda authored by kytv's avatar kytv Committed by kytv

Make a thread dump when I2P fails to start

The thread dump will be sent to /var/log/i2p/wrapper.log and may aid in
debugging why I2P may not have successfully started.
parent 8721bf9a
......@@ -35,6 +35,8 @@ startup_failure() {
/usr/local/sbin/tails-notify-user \
"`gettext \"I2P failed to start\"`" \
"`gettext \"Something went wrong when I2P was starting. Check the logs in /var/log/i2p for more information.\"`"
service i2p dump # generate a thread dump
sleep 5 # Give thread dump ample time to complete
service i2p stop # clean up, just in case
exit 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment