Sha256: c9cfe5cc01d7da7a36ea13117a306ab177b147225a459e2ca96f898c15c43892

Contents?: true

Size: 1.24 KB

Versions: 3

Compression:

Stored size: 1.24 KB

Contents

[
  %% Capricorn config
  {capricorn, [

    {cluster, [
      {database, "var/run/capricorn-cluster"},
      
      {console_port, 8756},

      {api, [
        % {stats, cap_service_stats}
      ]},

      {daemons, [
        % {backup, {cap_daemon_backup,start_link,[]}}
      ]},

      {event_handlers, [
        % {backup, {cap_daemon_backup,[]}}
      ]}
    ]},

    {machine, [
      % location of the cluster node
      {cluster, 'cluster@127.0.0.1'},
      
      {console_port, 8757},

      % path to gem repo
      {gems_path, "/opt/local/lib/ruby/gems/1.8"},

      {database, "var/run/capricorn-machine"},

      {recipe, "macports"},

      {api, [
        % {users, cap_service_users}
      ]},

      {daemons, [
        % {backup, {cap_daemon_backup,start_link,[]}}
      ]},

      {event_handlers, [
        % {backup, {cap_daemon_backup,[]}}
      ]}
    ]},

    {log, [
      {file, "var/log/capricorn.log"},
      {level, debug}
    ]}
  ]},

  %% SASL config
  {sasl, [
    {sasl_error_logger, {file, "var/log/sasl-error.log"}},
    {errlog_type, error},
    {error_logger_mf_dir, "var/log/sasl"},  % Log directory
    {error_logger_mf_maxbytes, 10485760},   % 10 MB max file size
    {error_logger_mf_maxfiles, 5}           % 5 files max
  ]}
].

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capricorn-2.0.11 erlang/rel/overlay/etc/capricorn/app.config
capricorn-2.0.10 erlang/rel/overlay/etc/capricorn/app.config
capricorn-2.0.9 erlang/rel/overlay/etc/capricorn/app.config