Skip to content

Commit

Permalink
test timeout command to stop rsync after 10 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Jun 26, 2024
1 parent bef8b3e commit 65952d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/ansible_openvpn/playbooks/fetch_rpi_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
source: '/home/pi/noisesensor/out/'
source2: '/home/pi/noisesensor/outsd/'
destination: '/home/semaphore/data/to_process/'
ansible_rsync_path: '/usr/bin/timeout 600 /usr/bin/rsync'
tasks:
# - name: get current RX
# shell: /usr/sbin/ifconfig tun0 | grep "RX packets" | awk '{print $5}'
Expand Down

0 comments on commit 65952d3

Please sign in to comment.