services: nginx: Improve reload action documentation.
* gnu/services/web.scm (nginx-shepherd-service): Be explicit about the reload action not changing the configuration file, but instead respawning worker processes. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
		
							parent
							
								
									117b0a65c8
								
							
						
					
					
						commit
						dbdc8f64e7
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -819,7 +819,11 @@ of index files."
 | 
			
		|||
              (list
 | 
			
		||||
               (shepherd-action
 | 
			
		||||
                 (name 'reload)
 | 
			
		||||
                 (documentation "Reload NGINX configuration file and restart worker processes.")
 | 
			
		||||
                 (documentation "Reload nginx configuration file and restart worker processes.
 | 
			
		||||
This has the effect of killing old worker processes and starting new ones, using
 | 
			
		||||
the same configuration file.  It is useful for situations where the same nginx
 | 
			
		||||
configuration file can point to different things after a reload, such as
 | 
			
		||||
renewed TLS certificates, or @code{include}d files.")
 | 
			
		||||
                 (procedure (nginx-action "-s" "reload"))))))))))
 | 
			
		||||
 | 
			
		||||
(define nginx-service-type
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue