From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Working example needed to extend tor-service with file-like object Date: Wed, 02 Nov 2016 17:18:48 +0100 Message-ID: <87mvhhlus7.fsf@gnu.org> References: <877f8p7o8m.fsf@we.make.ritual.n0.is> <87r36ukkzg.fsf@gnu.org> <87bmxxvqy7.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1yFa-0003Fl-Qb for help-guix@gnu.org; Wed, 02 Nov 2016 12:18:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1yFX-0003NY-MW for help-guix@gnu.org; Wed, 02 Nov 2016 12:18:54 -0400 In-Reply-To: <87bmxxvqy7.fsf@we.make.ritual.n0.is> (ng0@we.make.ritual.n0.is's message of "Wed, 02 Nov 2016 15:31:28 +0000") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: ng0 Cc: help-guix@gnu.org ng0 skribis: > Our default config (torrc) is not so pleasant (well, it's > intentional minimal). I have torrc values, unrelated to > hidden-service, I need to add. Like, exclude certain countries > etc. For this I want to understand how a file-like object would > look like in the context of (services) in config.scm, so I can be > sure I apply the correct thing. Oh, well: (tor-service (plain-file "tor.conf" "OptionOne Foo\nOptionTwo Bar\n=E2=80= =9C)) or: (tor-service (local-file "../my-tor.conf")) HTH, Ludo=E2=80=99.