Event Handlers, start a java program, nohup issues.
Marc Powell
marc at ena.com
Thu Jul 2 16:43:55 CEST 2009
On Jul 2, 2009, at 9:16 AM, Marco Tirado wrote:
>
> That is exactly what I am doing (or trying to do with) the "&"
> character at the end of my command. But it does not appear to be
> working, the command looks like this:
>
> nohup $JAVA_CMD -cp $CLASSPATH $JVM_OPTIONS JMXServer $PORT </dev/
> null 2>&1 >> $LOG_FILE&
Do you really intend to set the output of /dev/null as the STDIN for
nohup? I expect you meant to use '>/dev/null'.
--
Marc
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list