I added a shell script in startup with the following command:

```
su - root -c "/usr/bin/screen -dmS SomeServer java -jar /home/SomeServer.jar"

```

When I normally run this command, `screen` is created & works. But when I use `screen -ls` after reboot I see nothing.

Interesting thing is `SomeServer.jar` has http server built in, when I use `netstat` I can see a Java process listening on this port.

I am using Ubuntu 14.04.