Add start script
This commit is contained in:
parent
9958d50aa9
commit
27d49980ed
1 changed files with 7 additions and 0 deletions
7
monitoring.sh
Executable file
7
monitoring.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
if (($(ps aux | grep youtubebeat | wc -l) < 2)); then
|
||||
cd /tmp/ELK/youtubebeat-6.5.0-linux-x86
|
||||
./youtubebeat &
|
||||
fi
|
||||
|
Loading…
Reference in a new issue