diff options
Diffstat (limited to 'cloudmasterd/bin')
| -rw-r--r-- | cloudmasterd/bin/cloudmasterd | 14 | ||||
| -rw-r--r-- | cloudmasterd/bin/cloudmasterd-ctl | 8 |
2 files changed, 22 insertions, 0 deletions
diff --git a/cloudmasterd/bin/cloudmasterd b/cloudmasterd/bin/cloudmasterd new file mode 100644 index 0000000..21b1f22 --- /dev/null +++ b/cloudmasterd/bin/cloudmasterd @@ -0,0 +1,14 @@ +#!/usr/bin/env ruby +# +# Created by Brenton Leanhardt on 2008-4-9. +# Copyright (c) 2008. All rights reserved. + +require 'rubygems' +require 'picnic/cli' + +cli = Picnic::Cli.new( + 'cloudmasterd', + :app_path => File.expand_path(File.dirname(File.expand_path(__FILE__))) +) + +cli.handle_cli_input diff --git a/cloudmasterd/bin/cloudmasterd-ctl b/cloudmasterd/bin/cloudmasterd-ctl new file mode 100644 index 0000000..5a79c24 --- /dev/null +++ b/cloudmasterd/bin/cloudmasterd-ctl @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby + +require 'rubygems' +require 'picnic/service_control' + +ctl = Picnic::ServiceControl.new('cloudmasterd') + +ctl.handle_cli_input |
