Le Wed, 9 May 2012 09:09:31 +0100,
Craig Barnes <[email protected]> a écrit :

> > So what is needed is a script can:
> >
> >    - start / stop a tryton server
> >    - update (hg nupdate) the trytond sources
> >    - export the .po files
> 
>  OK so only shell access needed to perform these tasks, no p.

For start & stop I use simple script like:

 python trytond/2.2/bin/trytond -d bch_test > /dev/null 2>&1 &

and

 kill $(cat /home/b2ckbertrand/trytond/2.2/trytond.pid)

hg update and po files (see [1]) are also one-liners.


[1] http://hg.tryton.org/tryton-tools/file/tip/localize_modules.py 

-- 
[email protected] mailing list

Reply via email to