<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@include file="css.jsi" %> <%=intl.title("config service")%> <%@include file="summaryajax.jsi" %> <%@include file="summary.jsi" %>

<%=intl._t("I2P Service Configuration")%>

<%@include file="confignav.jsi" %> <%@include file="formhandler.jsi" %>

<%=intl._t("Shutdown the router")%>

<%=intl._t("Graceful shutdown lets the router satisfy the agreements it has already made before shutting down, but may take a few minutes.")%> <%=intl._t("If you need to kill the router immediately, that option is available as well.")%>


" > " > <% if (formhandler.shouldShowCancelGraceful()) { %> " > <% } %>
<% if (net.i2p.util.SystemVersion.hasWrapper()) { %>

<%=intl._t("Restart the router")%>

<%=intl._t("If you want the router to restart itself after shutting down, you can choose one of the following.")%> <%=intl._t("This is useful in some situations - for example, if you changed some settings that client applications only read at startup, such as the routerconsole password or the interface it listens on.")%> <%=intl._t("A graceful restart will take a few minutes (but your peers will appreciate your patience), while a hard restart does so immediately.")%> <%=intl._t("After tearing down the router, it will wait 1 minute before starting back up again.")%>


" > " >
<% } if (formhandler.shouldShowSystray()) { %>

<%=intl._t("Systray integration")%>

<%=intl._t("Control the system tray icon")%>


<% if (!formhandler.isSystrayEnabled()) { %> " > <% } else {%> " > <% } %>
<% } if (net.i2p.util.SystemVersion.isWindows()) { %>

<%=intl._t("Run on startup")%>

<%=intl._t("You can control whether I2P is run on startup or not by selecting one of the following options - I2P will install (or remove) a service accordingly.")%> <%=intl._t("If you prefer the command line, you can also run the ")%> install_i2p_service_winnt.bat (<%=intl._t("or")%> uninstall_i2p_service_winnt.bat).


<% if (net.i2p.util.SystemVersion.isWindowsService()) { %> " > <% } else { %> " > <% } %>
<% if (net.i2p.util.SystemVersion.isWindowsService()) { %>

<%=intl._t("Note")%>: <%=intl._t("If you are running I2P as service right now, removing it will shut down your router immediately.")%> <%=intl._t("You may want to consider shutting down gracefully, as above, then running uninstall_i2p_service_winnt.bat.")%>

<% } } %>

<%=intl._t("Debugging")%> [<%=intl._t("View the job queue")%>]

<% if (net.i2p.util.SystemVersion.hasWrapper()) { %> <%=intl._t("At times, it may be helpful to debug I2P by getting a thread dump. To do so, please select the following option and review the thread dumped to wrapper.log.")%> <% } else { // hack to make layout work for non-wrapper %>   <% } %>


" > <% if (net.i2p.util.SystemVersion.hasWrapper()) { %> " > <% } %>
<% if (!net.i2p.util.SystemVersion.isService()) { %>

<%=intl._t("Launch browser on router startup?")%>

<% String consoleURL = formhandler.getConsoleURL(); %> <%=intl._t("I2P''s main configuration interface is this web console, so for your convenience I2P can launch a web browser on startup pointing at {0}.", "" + consoleURL + "")%>


" > " >
<% } %>