Add Service.run_once_on_start. Refactor get config and get services blocks.

This commit is contained in:
Daniel Nichter
2013-03-22 12:08:45 -06:00
parent c1cce0c6ca
commit 9e1d935e19
2 changed files with 222 additions and 120 deletions

View File

@@ -46,6 +46,13 @@ has 'spool_schedule' => (
required => 0,
);
has 'run_once_on_start' => (
is => 'ro',
isa => 'Bool',
required => 0,
default => sub { return 0 },
);
has 'links' => (
is => 'rw',
isa => 'Maybe[HashRef]',