feat: add BindPaths to systemd services in aesmd_dcap
This commit updates systemd services configuration of aesmd_dcap by adding a new directory to BindPaths. The file "/dev/log" has been added to ensure proper logging.
This commit is contained in:
		
							parent
							
								
									27fc4658e1
								
							
						
					
					
						commit
						db296ef226
					
				
					 1 changed files with 8 additions and 3 deletions
				
			
		|  | @ -22,9 +22,14 @@ in | |||
|     }; | ||||
|     systemd.services.aesmd = { | ||||
|       environment.LD_LIBRARY_PATH = lib.mkForce (lib.makeLibraryPath [ pkgs.nixsgx.sgx-dcap.default_qpl pkgs.curl.out ]); | ||||
|       serviceConfig.BindReadOnlyPaths = [ | ||||
|         "/etc/sgx_default_qcnl.conf" | ||||
|       ]; | ||||
|       serviceConfig = { | ||||
|         BindReadOnlyPaths = [ | ||||
|           "/etc/sgx_default_qcnl.conf" | ||||
|         ]; | ||||
|         BindPaths = [ | ||||
|             "/dev/log" | ||||
|         ]; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue