Sha256: 0fdadc43b1f27c5706871f84835696db0a8c76c5f7dc600c3b89415e4e62256c

Contents?: true

Size: 1.21 KB

Versions: 9

Compression:

Stored size: 1.21 KB

Contents

<tr class="<%= even_or_odd ? 'even' : 'odd' %>">
  <td><%= h(service_info.pid) %></td>
  <th scope="row"><%= h(service_info.name) %></th>
  <td><%= stat_subst(service_info.stat) %></td>
  <td>
    <% if service_info.active? %>
      <% if service_info.run? %>
        <%= service_action service_info.name, :restart, t.runit.services.table.actions.restart %>
        <%= service_action service_info.name, :down, t.runit.services.table.actions.stop %>
      <% else %>
        <%= service_action service_info.name, :up, t.runit.services.table.actions.start %>
      <% end %>
      <% if service_info.switchable? %>
        <%= service_action service_info.name, :switch_down, t.runit.services.table.actions.switch_down %>
      <% end %>
    <% else %>
      <% if service_info.switchable? %>
        <%= service_action service_info.name, :switch_up, t.runit.services.table.actions.switch_up %>
      <% end %>
    <% end %>
  </td>
  <td>
    <% if service_info.logged? %>
      <%= log_link(service_info.name, :hint => t.runit.services.table.values.log_hint(service_info.name), :blank => true, :title => service_info.log_file_location) %>
    <% else %>
      <%= t.runit.services.table.values.log_absent %>
    <% end %>
  </td>
</tr>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
runit-man-1.5.4 views/_service_info.erb
runit-man-1.5.3 views/_service_info.erb
runit-man-1.5.2 views/_service_info.erb
runit-man-1.5.1 views/_service_info.erb
runit-man-1.5.0 views/_service_info.erb
runit-man-1.4.9 views/_service_info.erb
runit-man-1.4.8 views/_service_info.erb
runit-man-1.4.7 views/_service_info.erb
runit-man-1.4.6 views/_service_info.erb