anchor.diff: +<% if @enable_inet_server -%>
  +[inet_http_server]
  +port=<%= @inet_server_port %>
  +<% if @inet_server_user && @inet_server_pass -%>
  +username=<%= @inet_server_user %>
  +password=<%= @inet_server_pass %>
  +<% end -%>
  +<% else -%>
   [unix_http_server]
   file=<%= @unix_server_file %>    ; (the path to the socket file)
   <% if @unix_server_chmod -%>
  
positive.code: [rpcinterface:supervisor]
  supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
  
  [supervisorctl]
  serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL  for a unix socket
  
  [include]
  files = <%= @conf_dir -%>/*<%= @conf_ext -%>
  
negative.code: <% end -%>
  <% if @unix_server_chown -%>
  chown=<%= @unix_server_chown %>  ; (socket file ownership, default: the username and group of the user who starts supervisord)
  <% end -%>
  <% end -%>
  
  