From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: a Trytond service Date: Sat, 9 Sep 2017 11:39:39 +0100 Message-ID: <20170909113939.5be805ec@cbaines.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/qqHaifsdATY35YXdEuNJTWA"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqdB4-0001y4-Ke for guix-devel@gnu.org; Sat, 09 Sep 2017 06:39:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqdB1-0005z8-HW for guix-devel@gnu.org; Sat, 09 Sep 2017 06:39:54 -0400 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:37982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqdB1-0005yf-Au for guix-devel@gnu.org; Sat, 09 Sep 2017 06:39:51 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Catonano Cc: guix-devel --Sig_/qqHaifsdATY35YXdEuNJTWA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 8 Sep 2017 21:42:24 +0200 Catonano wrote: > I'm trying to write a service for Trytond >=20 > There are tons of things i don't know/understand >=20 > But this is the first one: >=20 > The Tryton manual states that I need to indicate a "data directory" > to the daemon and that such directory should be: >=20 > "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." >=20 > See here (notice that this is in the "database" section of te > configuration) >=20 > http://doc.tryton.org/4.4/trytond/doc/topics/configuration.html#database >=20 > 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 >=20 > 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. --Sig_/qqHaifsdATY35YXdEuNJTWA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlmzxOtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfehQ//Z91QsS8+abWgL00Gs1UaKcWgUxESCSVsFpXdxKpNHrPcbKCyIkJlAwxl k4GXTRXEfbeLQmW3z5GxKP2yZW/ineYs7Mim3ZDj5IuVaOo+bOJZRz67f3cm6ZzO 63d1hs5K19/E+suRMT7NZsUqqgeBOyy3TONAD34cb1izQmRbJgoXU9coSMKIZZk9 5Y3A7/wyj125BWJuND1QiIgT37qeNcyh+UhyZyYf973VCs9ciOaywUFQGl5aLIei nr4YzDUPYz0zEp0DIZ+pW6+8FsSILbZJ6Eu1y6H9i+DZ2Syr8N5Qxkfq90iJmS3e 17ZbrdihdBNhVHaNeS49EAZzn4L28j7aOV3WuN6lu1ZpVpYRTLUHfvPeT2JhDFOk 3jPt9DCWAFCw5PxHptUcIdSTESheu6r+XOf0ct9rqutqhbiPWQzNxXGZDTR31xoZ 8NPuuLDW4Vd42G2PpH/Nt7hSwaaTi98/jKWE8Oxc3bCN0XT8RidkhLEItdT1yNs5 r4QSN/39wbmTtOs8BLOUyuv5eKI6D2zwfU/dwJcUE+74VyTvQ4BhcA0FRrJExdg1 hRYC5maNISTEmnyC3BygZmyrXcRChlAYI0ibnHgXRotR4sClZ3d83yUc3LdwftcI eJkDfWxtVgVWYs1IJA14T4MHsIt2/9+s1ABcsL7Lr7BLypUDB4o= =8fPz -----END PGP SIGNATURE----- --Sig_/qqHaifsdATY35YXdEuNJTWA--