On Sun, 14 Jan 2018 11:43:46 +0100
Danny Milosavljevic <dan...@scratchpost.org> wrote:

> Hi Catonano,
> 
> On Sun, 14 Jan 2018 08:21:10 +0100
> Catonano <caton...@gmail.com> wrote:
> 
> > the line is supposed to be like
> > 
> > TRYTOPASSILE = /path/to/some/passfile trytond-admin -c
> > trytond-conf-file.conf
> > 
> > that is
> > 
> > TRYTOPASSILE = /gnu/store/some-hash-passfile
> > /gnu/store/some-hash-trytond-admin -c
> > /gnu/stor/some-hash-trytond-conf-file.conf  
> 
> That only works with a shell - and the spaces marked below break it:
> 
> TRYTOPASSILE = /gnu/store/some-hash-passfile
>             ^ ^
> 
> You'd need to remove those.  But even better instead do the following:
> 

Fixed typo:

I'd just call (setenv "TRYTOPASSILE" "/gnu/store/some-hash-passfile") instead 
of starting a whole shell (it's a waste and increases the attack surface for no 
reason to use a shell here).


> > The problem seesm to be that a call to some .trytond-admin-real can't be
> > satisfied  
> 
> I don't think so.  Did you check via "ls -a" ? (files whose names start with 
> a dot are otherwise hidden from output)


Reply via email to