Ultimately I'm trying to get a program to run at start up and work correctly.
I have been successful in getting it to show up in running processes after a reboot, but it doesn't seem like it is working correctly.
I started to troubleshoot the problem and I came across some interesting discoveries.
I am running openmediavault 1.0.20 which is based on Debian Wheezy and logged in as root with ssh.
Path to uTorrent install: /opt/utorrent
If I enter
cd /opt/utorrent
./utserver
utserver runs and I'm able to to access the webui by server'sip:8080/gui
However when I run
cd /
/opt/utorrent/utserver
utserver runs but the web ui is not accessible. I don't understand why one way works and yet the other doesn't.
Once I can get the webui to work after running /opt/utorrent/utserver the modifications I made to rc.local should work correclty
Current contents of rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
#Auto run uTorrent at start up
#su ut -c '/opt/utorrent/utserver &'
sudo /opt/utorrent/utserver &
exit 0