all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Catonano <catonano@gmail.com>
To: Christopher Baines <mail@cbaines.net>,
	Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: a Trytond service
Date: Sun, 10 Sep 2017 19:30:58 +0200	[thread overview]
Message-ID: <CAJ98PDxqmaH7AChmkKHJXZ=hLCcaeB2XU-FLVWg6XbursOj63g@mail.gmail.com> (raw)
In-Reply-To: <20170909113939.5be805ec@cbaines.net>

[-- Attachment #1: Type: text/plain, Size: 1933 bytes --]

2017-09-09 12:39 GMT+02:00 Christopher Baines <mail@cbaines.net>:

> On Fri, 8 Sep 2017 21:42:24 +0200
> Catonano <catonano@gmail.com> wrote:
>
> > I'm trying to write a service for Trytond
> >
> > There are tons of things i don't know/understand
> >
> > But this is the first one:
> >
> > The Tryton manual states that I need to indicate a "data directory"
> > to the daemon and that such directory should be:
> >
> > "The directory where Tryton stores files and so the user running
> > trytond must have write access on this directory.
> > Default: The db folder under the user home directory running trytond."
> >
> > See here (notice that this is in the "database" section of te
> > configuration)
> >
> > http://doc.tryton.org/4.4/trytond/doc/topics/configuration.html#database
> >
> > My idea was that Tryton would have used a postgres managed by the
> > omonimous service, so my user and my home folder shouldn't be
> > concerned, here
> >
> > I don't know enough of the Unix assumptions here
>
> Some users for services use some /var/run directory as there home
> directory, which works if the data doesn't need to survive reboots.
> Otherwise, the data should go in to /var/lib.
>
> The Tryton documentation isn't very clear to me either, Using PostgreSQL
> sounds like a good place to start, and ideally it would be flexible
> enough that any of the options are available when using the Guix
> service.
>

Thank you Christopher

Hartmut, good to know that there is a fellow trytonista here ;-)

I asked on their mailing list and the answer I got is that the data older
could be used for attachments, for example.

So I think we are in the situation where the folder has to be writable to
trytond AND its contents should be resilient to reboots.

That is clarified, so far

Their mailing list is hosted on google groups so I can only point you
there, for reference
https://groups.google.com/forum/#!topic/tryton/KEeGDBNjXBs

[-- Attachment #2: Type: text/html, Size: 2943 bytes --]

      reply	other threads:[~2017-09-10 17:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-08 19:42 a Trytond service Catonano
2017-09-09  7:38 ` Hartmut Goebel
2017-09-09  7:41 ` Hartmut Goebel
2017-09-09 10:39 ` Christopher Baines
2017-09-10 17:30   ` Catonano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ98PDxqmaH7AChmkKHJXZ=hLCcaeB2XU-FLVWg6XbursOj63g@mail.gmail.com' \
    --to=catonano@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    --cc=mail@cbaines.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.