services: tor: Log to file.
* gnu/services/networking.scm (tor-shepherd-service)[start]: Specify log file.
This commit is contained in:
		
							parent
							
								
									1beeef6261
								
							
						
					
					
						commit
						8bb45504dd
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -960,6 +960,7 @@ HiddenServicePort ~a ~a~%"
 | 
				
			||||||
                (start #~(make-forkexec-constructor/container
 | 
					                (start #~(make-forkexec-constructor/container
 | 
				
			||||||
                          (list #$(file-append tor "/bin/tor") "-f" #$torrc)
 | 
					                          (list #$(file-append tor "/bin/tor") "-f" #$torrc)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                          #:log-file "/var/log/tor.log"
 | 
				
			||||||
                          #:mappings (list (file-system-mapping
 | 
					                          #:mappings (list (file-system-mapping
 | 
				
			||||||
                                            (source "/var/lib/tor")
 | 
					                                            (source "/var/lib/tor")
 | 
				
			||||||
                                            (target source)
 | 
					                                            (target source)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue