help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extending a service to create an extra directory


From: Reza Alizadeh Majd
Subject: Re: extending a service to create an extra directory
Date: Sat, 20 Jul 2019 10:48:23 +0430
User-agent: Cyrus-JMAP/3.1.6-736-gdfb8e44-fmstable-20190718v2

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]