If you add this to the list of JVM arguments in start_matterhorn.sh (or add it to the JAVA_OPTS environment variable), the gogo shell won't expect standard input/out to be available.
-Dgosh.args=--nointeractive Matterhorn stops immediately because the interactive shell can't get stdin. Josh On Thu, Apr 21, 2011 at 10:16 AM, Hank Magnuski <[email protected]> wrote: > > Under 1.0 I was starting the server using the nohup command: > > #! /bin/bash > > cd /opt/matterhorn > rm -f nohup.out > nohup ./start_matterhorn.sh < /dev/null & > echo "Matterhorn started ..." > > With 1.1 this method ends abruptly: > > Removing cached matterhorn bundles from /opt/matterhorn/felix/felix-cache > Listening for transport dt_socket at address: 8800 > > Welcome to Matterhorn 1.1 > ========================= > > Type 'help' to see a list of commands. Type 'help [command]' for more > details on how to use a command. Type "stop 0" to exit. > matterhorn> gosh: stopping framework > > > If I type ./start_matterhorn from the same directory everything is fine. > > What is the "official" solution to running the server as a daemon? > > Thanks, > > Hank > > _______________________________________________ > Matterhorn-users mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users >
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
