Created
March 10, 2014 17:46
-
-
Save stevelippert/9470160 to your computer and use it in GitHub Desktop.
A simple Ubic Multiservice initialization script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use Ubic::Multiservice::Simple; | |
| use Ubic::Service::SimpleDaemon; | |
| return Ubic::Multiservice::Simple->new({ | |
| map { ( | |
| "worker$_" => Ubic::Service::SimpleDaemon->new({ | |
| bin => "/home/steve/worker.pl", | |
| }) | |
| )}(1..2) | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment