Start adding signer containers
This is work in progress to add the signer components
This commit is contained in:
		
							parent
							
								
									f9b0eb5195
								
							
						
					
					
						commit
						e8ad6b9ba7
					
				
					 8 changed files with 189 additions and 3 deletions
				
			
		
							
								
								
									
										14
									
								
								docker/run-signer
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										14
									
								
								docker/run-signer
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| set -eu | ||||
| 
 | ||||
| rm -f /srv/sockets/signer | ||||
| socat -d -d PTY,link=/dev/ttyUSB0 UNIX-LISTEN:/srv/sockets/signer 2>&1 & | ||||
| sleep 1 | ||||
| 
 | ||||
| export SERIAL_PORT=/dev/ttyUSB0 | ||||
| 
 | ||||
| cd /srv/CommModule/ | ||||
| 
 | ||||
| touch server.pl-active | ||||
| exec perl -w server.pl | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue