v1.0.213 - Rename file and change file names

pull/35/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 9c9a1b0a08
commit 94ba0ed3b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash
scriptVersion="1.0.212"
scriptVersion="1.0.213"
lidarrUrlBase="$(cat /config/config.xml | xq | jq -r .Config.UrlBase)"
if [ "$lidarrUrlBase" = "null" ]; then
lidarrUrlBase=""
@ -75,8 +75,8 @@ if [ ! -d /config/xdg ]; then
fi
Configuration () {
processstartid="$(ps -A -o pid,cmd|grep "start.sh" | grep -v grep | head -n 1 | awk '{print $1}')"
processdownloadid="$(ps -A -o pid,cmd|grep "download.sh" | grep -v grep | head -n 1 | awk '{print $1}')"
processstartid="$(ps -A -o pid,cmd|grep "start_audio.sh" | grep -v grep | head -n 1 | awk '{print $1}')"
processdownloadid="$(ps -A -o pid,cmd|grep "audio.sh" | grep -v grep | head -n 1 | awk '{print $1}')"
log ":: To kill script, use the following command:"
log ":: kill -9 $processstartid"
log ":: kill -9 $processdownloadid"
Loading…
Cancel
Save