youtubebeat/monitoring.sh

8 lines
131 B
Bash
Raw Normal View History

2018-11-20 14:32:20 +01:00
#!/bin/bash
if (($(ps aux | grep youtubebeat | wc -l) < 2)); then
cd /tmp/ELK/youtubebeat-6.5.0-linux-x86
./youtubebeat &
fi