poe test pidfile fixups, and make default pidbase an absolute path
[gitmo/MooseX-Daemonize.git] / lib / MooseX / Daemonize.pm
index 4329d5d..ba46d4d 100644 (file)
@@ -30,7 +30,7 @@ has pidbase => (
     coerce    => 1,
     required  => 1,
     lazy      => 1,
-    default   => sub { Path::Class::Dir->new('var', 'run') },
+    default   => sub { Path::Class::Dir->new('', 'var', 'run') },
 );
 
 has basedir => (