[Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl
via init.d script?
Lindolfo "Lorn" Rodrigues
lorn.br at gmail.com
Mon Jul 20 16:00:51 GMT 2009
Try to add this in your view:
INCLUDE_PATH =3D> [
MyApp->path_to( 'root', 'src' ),
MyApp->path_to( 'root', 'lib' )
On Mon, Jul 20, 2009 at 10:40 AM, Christoph Metz <mail-lao at web.de> wrote:
> Hey guys,
> i want to deploy my c-app by using the dev-server myapp_server.pl. while
> the development i went into the dir myapp and typed
> script/myapp_server.pl -r -d
> so far, so good, but now i want to start this server via an init.d
> script under open-suse 9.2, so i wrote the script by using the skeleton.
> but now my problem, if i start the dev-server from out of an other path
> like "/" or try to start the server with the abs path
> /var/www/myapp/myapp_server.pl, the server starts, but there a errors on
> much... like template.tt2 could not be found and so on...
> so, where do i have to set a "HOME" oder "PATH" var, so that i can run
> the dev server from any fs-point?
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
--Lindolfo "Lorn" Rodrigues
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst