title: Ubuntu 10.10 rc.local ignores half the command?
body: <p>I have a java program on autostart in <code>rc.local</code> (in ubuntu its <code>/etc/init.d/rc.local</code>)
  For some reason in ubuntu on autostart the command to execute java and log its output only half works, while it works as expected in the command line and it also works on any RHEL distro (in rc.local and command line).
  the command im trying to execute is:</p>
  
  <p><code>java -server -cp '/foo/bar/' SomeServer &amp;&gt; '/foo/bar/log.txt' &amp;</code> </p>
  
  <p>At boot in ubuntu it just starts the server and rewrites log.txt to a blank log, but doesnt log any more of the output of the server program... All the permissions are definitely set right.. not sure what else to look into..
  Any help is appreciated. Thanks.</p>