jig: sync with nearly-final version

This is nearly the final version of the factory test jig.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
2019-05-26 13:31:36 +08:00
parent 337e1a370c
commit 18178e4a71
6 changed files with 154 additions and 15 deletions

22
jig/exclave.service Normal file
View File

@ -0,0 +1,22 @@
# copy this file to /etc/systemd/system
# then run:
# sudo systemctl start exclave
# sudo systemctl stop exclave
# sudo systemctl enable exclave
[Unit]
Description=Exclave tester automation framework service
After=network.target
After=systemd-user-sessions.service
[Service]
User=pi
ExecStart=/home/pi/code/netv2-tests/run_exclave.sh
#Restart=always
#TimeoutSec=60 # I have no idea how to tell systemd the script has started...
#RestartSec=10
#StartTimeLimitInterval=60
#StartLimitBurst=10
[Install]
WantedBy=multi-user.target