Rename PlexPy.py to Tautulli.py

This commit is contained in:
JonnyWong16 2018-03-04 11:17:11 -08:00
parent 8146e1e3cf
commit 7c43ea2f46
10 changed files with 14 additions and 14 deletions

View file

@ -38,7 +38,7 @@ load_rc_config ${name}
status_cmd="${name}_status"
stop_cmd="${name}_stop"
command="${tautulli_dir}/PlexPy.py"
command="${tautulli_dir}/Tautulli.py"
command_args="--daemon --pidfile ${tautulli_pid} --quiet --nolaunch ${tautulli_flags}"
# Ensure user is root when running this script.
@ -51,7 +51,7 @@ verify_tautulli_pid() {
# Make sure the pid corresponds to the Tautulli process.
if [ -f ${tautulli_pid} ]; then
pid=`cat ${tautulli_pid} 2>/dev/null`
ps -p ${pid} | grep -q "python2 ${tautulli_dir}/PlexPy.py"
ps -p ${pid} | grep -q "python2 ${tautulli_dir}/Tautulli.py"
return $?
else
return 0