From: "Reza Alizadeh Majd" <r.majd@pantherx.org>
To: Robert Vollmert <rob@vllmrt.net>
Cc: help-guix@gnu.org
Subject: Re: extending a service to create an extra directory
Date: Sat, 20 Jul 2019 10:48:23 +0430 [thread overview]
Message-ID: <ad4784ba-560d-4234-8b4b-3b104e141ea2@www.fastmail.com> (raw)
In-Reply-To: <32B3BD3C-15A9-4428-904E-E4E341A7A55C@vllmrt.net>
Hi,
On Thu, Jul 18, 2019, at 6:30 PM, Robert Vollmert wrote:
> Hi,
>
> I’m trying to set up nginx properly, and my config involves a
> cache directory, say /var/nginx/cache. To encode this properly,
> I’d like to to make my nginx service create that directory
> with appropriate user and rights on service activation. I can’t
> 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
>
It seems that proper way to do this is to define a new service for
activating cache directory. since it was defined previously on Guix
CI server:
https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/modules/sysadmin/services.scm#n221
Best,
Reza
next prev parent reply other threads:[~2019-07-20 6:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-18 13:47 extending a service to create an extra directory Robert Vollmert
2019-07-20 6:18 ` Reza Alizadeh Majd [this message]
2019-07-20 7:57 ` Robert Vollmert
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=ad4784ba-560d-4234-8b4b-3b104e141ea2@www.fastmail.com \
--to=r.majd@pantherx.org \
--cc=help-guix@gnu.org \
--cc=rob@vllmrt.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.