summaryrefslogtreecommitdiffstats
path: root/cloudmasterd/bin
diff options
context:
space:
mode:
authorroot <root@hackathon1-repo.usersys.redhat.com>2008-06-19 15:36:54 -0400
committerroot <root@hackathon1-repo.usersys.redhat.com>2008-06-19 15:36:54 -0400
commitcf796141ac01c866e81663f20699ccd56ce2d50b (patch)
tree9061bb3c95d638bfed4d880db21e49f9f36cf1ec /cloudmasterd/bin
parent4f244d65c5c2e4ffb4b38e00baa5f83de89c20d8 (diff)
downloadtools-cf796141ac01c866e81663f20699ccd56ce2d50b.tar.gz
tools-cf796141ac01c866e81663f20699ccd56ce2d50b.tar.xz
tools-cf796141ac01c866e81663f20699ccd56ce2d50b.zip
Moved the cloud daemon to cloudmasterd to give it a better name
Diffstat (limited to 'cloudmasterd/bin')
-rw-r--r--cloudmasterd/bin/cloudmasterd14
-rw-r--r--cloudmasterd/bin/cloudmasterd-ctl8
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