cacert-devsetup/docker/run-signer_client

14 lines
191 B
Text
Raw Normal View History

#!/bin/sh
set -eu
socat -d -d UNIX:/srv/sockets/signer PTY,link=/dev/ttyS0 2>&1 &
sleep 1
export SERIAL_PORT=/dev/ttyS0
cd /srv/CommModule/
touch client.pl-active
exec perl -w client.pl