Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7311

runit service restart override doesn't work

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Night's Watch
    • QA Risk Assessment:
      Needs Assessment

      Description

      When supplying the restart command, it still runs sv restart oskar-test-service rather than the restart command I specified.

      service { 'oskar-test-service':
        provider => 'runit',
        ensure => 'running',
        restart => '/bin/kill -HUP \$(cat /etc/service/oskar-test-service/supervise/pid)',
      }
      

      Using this on CentOS 7 and with systemd and it seems to work there, but not with the runit provider.

      Related/useful links:
      https://projects.puppetlabs.com/issues/2642
      https://projects.puppetlabs.com/issues/18021

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            dataviruset Oskar Levin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support