+1 This is the behaviour those of us running non-OSX bump into and it usually means that if FELIX_HOME isn't specified other useful parameters might have been forgotten as well. It is also I handy feature for making sure you don't run as the wrong user (running it by accident as root instead of user matterhorn)
Adam McKenzie ITS, University of Saskatchewan Rm 61 Physics, 116 Science Place Saskatoon SK S7N 5E2 Canada (306) 966-2453 ________________________________________ From: [email protected] [[email protected]] on behalf of Christopher Brooks [[email protected]] Sent: Wednesday, October 19, 2011 8:34 AM To: Opencast Matterhorn Subject: Re: [Opencast Matterhorn] Make the start script complain if FELIX_HOME is undefined #proposal +1 -----Original Message----- From: Tobias Wunden <[email protected]> Sender: [email protected] Date: Wed, 19 Oct 2011 16:11:26 To: Opencast Matterhorn<[email protected]> Reply-to: Opencast Matterhorn <[email protected]> Subject: [Opencast Matterhorn] Make the start script complain if FELIX_HOME is undefined #proposal The current start script comes with the following piece of code in it: if [ ! -z "$FELIX_HOME" ]; then FELIX_HOME="$FELIX_HOME" else FELIX_HOME="/Applications/Matterhorn" fi Even though I like the default value (for no apparent reason, of course :-) I don't think that it's a great idea. Rather than using a default value, we could do two things: 1) Come up with crazy scripting to try and find possible locations for Matterhorn 2) Have the startup script complain about the lack of a definition for FELIX_HOME. As you can tell from the email's subjest, I am proposing to change the start script to fail if FELIX_HOME is not set ( MH-8278). Thanks, Tobias _______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________ _______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________ _______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
