runit-man 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/views/_service_info.erb +2 -2
- metadata +2 -2
data/views/_service_info.erb
CHANGED
@@ -4,11 +4,11 @@ need_second_row = !service_info.files_to_view.empty? || !service_info.urls_to_vi
|
|
4
4
|
<tr class="<%= even_or_odd ? 'even' : 'odd' %>">
|
5
5
|
<td<%= need_second_row ? ' rowspan="2"' : '' %>><%= h(service_info.pid) %></td>
|
6
6
|
<th scope="row"><%= h(service_info.name) %></th>
|
7
|
-
<td><%= '%5.2d' % service_info.uptime
|
7
|
+
<td><%= '%5.2d' % service_info.uptime %></td>
|
8
8
|
<td><%= stat_subst(service_info.stat) %></td>
|
9
9
|
<td>
|
10
10
|
<% if service_info.active? %>
|
11
|
-
<%
|
11
|
+
<% unless service_info.down? %>
|
12
12
|
<%= service_action service_info.name, :restart, t.runit.services.table.actions.restart %>
|
13
13
|
<%= service_action service_info.name, :down, t.runit.services.table.actions.stop %>
|
14
14
|
<% else %>
|