mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Fix FreeBSD and FreeNAS init scripts daemonizing
This commit is contained in:
parent
f409dda2ef
commit
1095e29b4d
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ status_cmd="${name}_status"
|
|||
stop_cmd="${name}_stop"
|
||||
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-f -p ${plexpy_pid} python2 ${plexpy_dir}/PlexPy.py ${plexpy_flags} --quiet --nolaunch"
|
||||
command_args="python2 ${plexpy_dir}/PlexPy.py --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