Re: [Mojolicious] Re: setting configuration from the command line

2018-09-17 Thread Cam
sri writes: > I would use mode specific config files, like "my_app.testing.conf" and > start the > app with "./my_app.pl daemon --mode testing". > > -- > sebastian > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from th

Re: [Mojolicious] Re: setting configuration from the command line

2018-09-17 Thread Cam
sri writes: > I would use mode specific config files, like "my_app.testing.conf" and > start the > app with "./my_app.pl daemon --mode testing". > > -- > sebastian > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from th

Re: [Mojolicious] Re: setting configuration from the command line

2018-09-17 Thread sri
I would use mode specific config files, like "my_app.testing.conf" and start the app with "./my_app.pl daemon --mode testing". -- sebastian -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails

[Mojolicious] Re: setting configuration from the command line

2018-09-17 Thread Cam
Jason Cooper writes: > Hi, > Have you tried setting the `MOJO_CONFIG` environment variable to the name > of an alternative config file? Other useful environment variables for > Mojolicious are listed on the wiki - > https://github.com/mojolicious/mojo/wiki/%25ENV > > Regards, > Jason. > >

[Mojolicious] Re: setting configuration from the command line

2018-09-17 Thread Jason Cooper
Hi, Have you tried setting the `MOJO_CONFIG` environment variable to the name of an alternative config file? Other useful environment variables for Mojolicious are listed on the wiki - https://github.com/mojolicious/mojo/wiki/%25ENV Regards, Jason. On Sunday, 16 September 2018 18:48:37 UTC