Re: Startup script woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Robert Bielik <robert.bielik@xxxxxxxxxx>
> Ok, I think I'm going nuts. I simply want to startup a Java Service like so:
> daemon --pidfile=$PIDFILE --user $USER "cd $WORKING_DIR && /usr/bin/java 
> $DAEMON_ARGS >/dev/null 2>&1 &"
> I can get it to startup alrite, but the litte "thingy" is that I have no way of 
> getting the process ID of the
> started service to put in the PIDFILE, in order for me to later on be able to 
> stop the service.

Try without the '='

JD


      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux