Add start script

This commit is contained in:
Gabriel Augendre 2018-11-20 14:32:20 +01:00
parent 9958d50aa9
commit 27d49980ed
1 changed files with 7 additions and 0 deletions

7
monitoring.sh Executable file
View 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