> So were the spaces the only problem ?

In 
https://gitlab.com/humanitiesNerd/guix-hacks/blob/trytonservice/gnu/services/trytond.scm
 , you don't invoke a shell (example: "sh", "bash", "csh" etc) so the 
"VARIABLE=VALUE" syntax will not be evaluated by the shell and the kernel will 
try to start a program called "VARIABLE=VALUE" instead.

So either (invoke "sh" "-c" "VARIABLE=VALUE trytond-admin ...") or just use 
setenv and then invoke trytond-admin directly.



Reply via email to