mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-05 20:51:15 -07:00
Run plexpy directly in daemon mode instead of using the daemon program
This commit is contained in:
parent
2bac4ac1a7
commit
7cc58b84da
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ load_rc_config ${name}
|
|||
status_cmd="${name}_status"
|
||||
stop_cmd="${name}_stop"
|
||||
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="python2 ${plexpy_dir}/PlexPy.py --daemon --pidfile ${plexpy_pid} --quiet --nolaunch"
|
||||
command="${plexpy_dir}/PlexPy.py"
|
||||
command_args="--daemon --pidfile ${plexpy_pid} --quiet --nolaunch"
|
||||
|
||||
# Ensure user is root when running this script.
|
||||
if [ `id -u` != "0" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue