Yes, you can customize the location of the database and the config file.

The database is easy:  Simply add or replace the `database: /custom/path`
entry in the config file.

The custom config file is a little harder since you need to use an
environment variable to tell lit where to look.

LIT_CONFIG=/path/to/custom/config

This is actually how lit.luvit.io is deployed.  I have the config in
/home/lit/lit-config and database pointing to /home/lit.  Therefore the
database is the lit user's home directory.  I set the environment variable
in the service's systemd config script.

On Wed, Apr 15, 2015 at 9:55 AM, Lionel Duboeuf <[email protected]>
wrote:

> hello,
>
> i've tried to install luvit in Openshift red hat cloud:
>
> $./lit make github://luvit/luvit
> will give me this following error:
> fail: [string "bundle:/libs/storage.lua"]:22: EACCES: permission denied:
> /var/lib/openshift/xxxxx/.litdb.git
>
> are there any tuning to specify where this should be installed ? I don't
> have permission to write in home dir.
>
> Thanks a lot
>
> regards
> lionel
>
>  --
> You received this message because you are subscribed to the Google Groups
> "luvit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"luvit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to