8 lines
155 B
Bash
8 lines
155 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
sleep 1
|
||
|
|
||
|
if [[ $(cat /tmp/spotify-dl.log) == '' ]]; then
|
||
|
kill -9 $(ps -aux | grep "lib/spotify-ripper" | grep -v grep | awk '{print $2}')
|
||
|
fi
|