mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Added que init script #2724
This commit is contained in:
parent
a2e6603ecc
commit
2324d08394
18 changed files with 178 additions and 293 deletions
5
lib/daemons/daemons
Executable file
5
lib/daemons/daemons
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env ruby
|
||||
results = []
|
||||
Dir[File.dirname(__FILE__) + "/*_ctl"].each {|f| results << `ruby #{f} #{ARGV.first}`}
|
||||
results.delete_if { |result| result.nil? || result.empty? }
|
||||
puts results.join unless results.empty?
|
Loading…
Add table
Add a link
Reference in a new issue