1
0
Fork 0
cacert-devsetup/docker/run-signer
Jan Dittberner e8ad6b9ba7 Start adding signer containers
This is work in progress to add the signer components
2020-12-23 09:53:52 +01:00

14 lines
No EOL
227 B
Bash
Executable file

#!/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