mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-04 04:00:36 +01:00 
			
		
		
		
	Remove process forking from frontend script
Now with the patches integrated to filter logging output, we can finally remove forking a subprocess and stop redirecting file descriptors. We instead use exec to replace the process with the final daemon. Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
		@@ -115,6 +115,4 @@ fi
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
MNT_DIR="${MNT_DIR//\/\//\/}"
 | 
					MNT_DIR="${MNT_DIR//\/\//\/}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cd $MNT_DIR && @LIBEXEC_PREFIX@/bees ${ARGUMENTS[@]} $OPTIONS "$MNT_DIR" 3>&1 2>&1
 | 
					cd $MNT_DIR && exec @LIBEXEC_PREFIX@/bees ${ARGUMENTS[@]} $OPTIONS "$MNT_DIR"
 | 
				
			||||||
 | 
					 | 
				
			||||||
exit 0
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user