all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: Catonano <catonano@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: a Trytond service
Date: Sat, 9 Sep 2017 11:39:39 +0100	[thread overview]
Message-ID: <20170909113939.5be805ec@cbaines.net> (raw)
In-Reply-To: <CAJ98PDxknDR0CH9JGaUT22=c045UNT+ecxo07LEnpHcwYH3sqA@mail.gmail.com>

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

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.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

  parent reply	other threads:[~2017-09-09 10:39 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 [this message]
2017-09-10 17:30   ` Catonano

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=20170909113939.5be805ec@cbaines.net \
    --to=mail@cbaines.net \
    --cc=catonano@gmail.com \
    --cc=guix-devel@gnu.org \
    /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.