1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/bin/pumactl
Eugene Korbut 97f13342b4 pumactl - do not modify original ARGV
ARGV used later in `lib/puma/cli.rb` to construct `restart_cmd`
2014-06-03 10:23:47 +08:00

12 lines
151 B
Ruby
Executable file

#!/usr/bin/env ruby
require 'puma/control_cli'
cli = Puma::ControlCLI.new ARGV.dup
begin
cli.run
rescue => e
STDERR.puts e.message
exit 1
end