Details

    • Type: Task
    • Status: Selected for Development
    • Priority: Medium
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: None
    • Components: None
    • Labels:
      None

      Description

      We install runit using a chef wrapper https://github.com/chef-cookbooks/enterprise-chef-common/blob/3c97fe73bee7a99f7f64bba8a7ab10fbbc074cf6/definitions/component_runit_service.rb: https://github.com/chef-cookbooks/enterprise-chef-common

      Using the above recipe only 3 attributes are set:

      ...
          variables(
            svlogd_size: (params[:svlogd_size] || node[package][component]['log_rotation']['file_maxbytes']),
            svlogd_num: (params[:svlogd_num] || node[package][component]['log_rotation']['num_to_keep'])
          )
      ...
        options(
          log_directory: log_directory
        )
      ...
      

      1) should we change this recipe and send svlogd* variables to config.svlogd ???
      2) should we delete /opt/unifiedpush/embedded/cookbooks/unifiedpush/templates/default/sv--server-log-config.erb and all svlogd attributes.

        Attachments

          Activity

            People

            • Assignee:
              yaniv Yaniv Marom Nachumi
              Reporter:
              yaniv Yaniv Marom Nachumi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: