|
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.
|