sensu-plugins/sensu-plugins-process-checks

View on GitHub
bin/metrics-process-uptime.rb

Summary

Maintainability
A
0 mins
Test Coverage
#!/usr/bin/env ruby

bin_dir = File.expand_path(__dir__)
shell_script_path = File.join(bin_dir, File.basename($PROGRAM_NAME, '.rb') + '.sh')

exec shell_script_path, *ARGV