Commit ca407e8571b964ed2dfb293f3bac67053c50bef9

Authored by zabeth18
1 parent 2231d332

modification script pour fonctionner avec ansible

Showing 2 changed files with 8 additions and 0 deletions   Show diff stats
raspberry/lancer.sh 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +#!/bin/sh
  2 +
  3 +kill $(cat /var/run/script.pid)
  4 +base=`dirname $0`
  5 +nohup $base/script.sh &
... ...
raspberry/script.sh
1 1 #!/bin/sh
  2 +
  3 +echo $$ > /var/run/script.pid
  4 +
2 5 ./load.sh
3 6 while true
4 7 do
... ...