mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Rename PlexPy.py to Tautulli.py
This commit is contained in:
parent
8146e1e3cf
commit
7c43ea2f46
10 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue