anchor.diff:    fi
   }
   
  -<%# Some functions to match LSB because RHEL doesn't (╯°□°）╯︵ ┻━┻ %>
  +<%# Some functions to match LSB %>
   
   log_daemon_msg() {
     echo -n "$1"
  
positive.code: 
  log_end_msg() {
    if [ "$1" = 0 ]; then
      success
    else
      failure
    fi
  }
  <%- else -%>
  <%- raise "Platform family #{@platform_family} is not supported" -%>
  <%- end -%>
  
  set -e
  
negative.code:   start-stop-daemon --stop --quiet --pidfile "<%= @pid_file %>" --user "<%= @user %>" --signal "<%= @reload_signal %>"
  }
  
  <%- else -%>
  _start() {
    <%# Implementing this using RedHat's bash helpers is too painful. Sorry. %>
    <%# See dummy.rb for a more commented version of this code. %>
    /opt/chef/embedded/bin/ruby <<EOH
  pid_file = <%= @pid_file.inspect %>
  File.unlink(pid_file) if File.exist?(pid_file)
  if Process.fork
    sleep(1) until File.exist?(pid_file)
  else
    Process.daemon(true)
    Dir.chdir(<%= @directory.inspect %>)
    <%- unless @pid_file_external -%>
    IO.write(pid_file, Process.pid)
    <%- end -%>
    Process::UID.change_privilege(<%= @user.inspect %>)
    Kernel.exec(*<%= Shellwords.split(@command).inspect %>)
    exit!
  end
  EOH
  }
  
  _stop() {
    if [ -r "<%= @pid_file %>" ]; then
      kill -<%= @stop_signal%> "$(cat "<%= @pid_file %>")"
    else
      return 0
    fi
  }
  
  _status() {
    if [ -r "<%= @pid_file %>" ]; then
      kill -0 "$(cat "<%= @pid_file %>")"
    else
      return 1
    fi
  }
  
  _reload() {
  