Handle run-once services. Stub implementation of --stop.

This commit is contained in:
Daniel Nichter
2013-04-08 16:17:08 -06:00
parent c46a0e3199
commit a9e06286af
2 changed files with 38 additions and 15 deletions

View File

@@ -37,7 +37,7 @@ has 'tasks' => (
has 'run_schedule' => (
is => 'ro',
isa => 'Str',
required => 1,
required => 0,
);
has 'spool_schedule' => (
@@ -46,7 +46,7 @@ has 'spool_schedule' => (
required => 0,
);
has 'run_once_on_start' => (
has 'run_once' => (
is => 'ro',
isa => 'Bool',
required => 0,