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.
Files changed (2) hide show
  1. data/views/_service_info.erb +2 -2
  2. metadata +2 -2
@@ -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) %></td>
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
- <% if service_info.run? %>
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 %>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 7
8
- - 0
9
- version: 1.7.0
8
+ - 1
9
+ version: 1.7.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Akzhan Abdulin