artiq-fast: put board lockfile into separate directory
Files at the root of /tmp cannot be written by different users for some reason.
This commit is contained in:
parent
777b9dbecd
commit
083e389b41
|
@ -84,7 +84,7 @@ in
|
|||
-i $HOME/.ssh/id_rsa \
|
||||
-o UserKnownHostsFile=$HOME/.ssh/known_hosts \
|
||||
sb@rpi-1 \
|
||||
'flock /tmp/board_lock-kc705-1 -c "echo Ok; cat"' \
|
||||
'mkdir -p /tmp/board_lock && flock /tmp/board_lock/kc705-1 -c "echo Ok; cat"' \
|
||||
| (
|
||||
# End remote flock via FIFO
|
||||
atexit_unlock() {
|
||||
|
|
Loading…
Reference in New Issue