File: http://svn.grimore.org/configuration-templates/monit/debian/templates/i2p -
########################################################################### ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## ########################################################################### check process i2p with pidfile /run/i2p/i2p.pid start program "/etc/init.d/i2p restart" stop program "/etc/init.d/i2p stop" if failed port 7657 protocol http then restart # if 5 restarts within 5 cycles then timeout