Add start script

This commit is contained in:
Gabriel Augendre 2018-11-20 14:32:20 +01:00
parent 9958d50aa9
commit 27d49980ed

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