From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Vollmert Subject: extending a service to create an extra directory Date: Thu, 18 Jul 2019 15:47:45 +0200 Message-ID: <32B3BD3C-15A9-4428-904E-E4E341A7A55C@vllmrt.net> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39812) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho6lT-0003GM-VH for help-guix@gnu.org; Thu, 18 Jul 2019 09:48:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ho6lQ-0003Th-2a for help-guix@gnu.org; Thu, 18 Jul 2019 09:48:06 -0400 Received: from mx1.mailbox.org ([2001:67c:2050:104:0:1:25:1]:21958) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ho6lO-0003IO-2h for help-guix@gnu.org; Thu, 18 Jul 2019 09:48:03 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 5A0DE4FC1F for ; Thu, 18 Jul 2019 15:47:49 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id DHC5z4P9UZ_1 for ; Thu, 18 Jul 2019 15:47:47 +0200 (CEST) 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: help-guix@gnu.org Hi, I=E2=80=99m trying to set up nginx properly, and my config involves a cache directory, say /var/nginx/cache. To encode this properly, I=E2=80=99d like to to make my nginx service create that directory with appropriate user and rights on service activation. I can=E2=80=99t figure out how to do that without assembling a whole new service out of the parts of the existing nginx-service. There must be a more reasonable way? Cheers Robert