projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
44cf11e
)
Pass the extra restart options
Tomas Doran [Wed, 23 Feb 2011 00:47:16 +0000 (
00:47
+0000)]
lib/Catalyst/Script/Server.pm
patch
|
blob
|
blame
|
history
t/aggregate/unit_core_script_server.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Script/Server.pm
b/lib/Catalyst/Script/Server.pm
index
331bdc8
..
e692859
100644
(file)
--- a/
lib/Catalyst/Script/Server.pm
+++ b/
lib/Catalyst/Script/Server.pm
@@
-146,7
+146,7
@@
sub _restarter_args {
($self->_has_restart_regex ? (filter => $self->restart_regex) : ()),
),
(
- map { $_ => $self->$_ } qw(application_name host port debug pidfile)
+ map { $_ => $self->$_ } qw(application_name host port debug pidfile fork background keepalive)
);
}
diff --git
a/t/aggregate/unit_core_script_server.t
b/t/aggregate/unit_core_script_server.t
index
fce5045
..
222098a
100644
(file)
--- a/
t/aggregate/unit_core_script_server.t
+++ b/
t/aggregate/unit_core_script_server.t
@@
-151,8
+151,5
@@
sub restartopthash {
host => undef,
%$opthash,
};
- delete $val->{fork};
- delete $val->{background};
- delete $val->{keepalive};
return $val;
}