extending a service to create an extra directory

2019-07-18 Thread Robert Vollmert
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

Re: extending a service to create an extra directory

2019-07-20 Thread Robert Vollmert
On 20. Jul 2019, at 08:18, Reza Alizadeh Majd wrote: > On Thu, Jul 18, 2019, at 6:30 PM, Robert Vollmert wrote: >> >> 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 m