Re: [CentOS] Startup script woes

2009-12-02 Thread Les Mikesell
Robert Bielik wrote: > Les Mikesell skrev: >> The straightforward way would be to give each of your services a different >> name >> (service-a, service-b, etc) so you would have different init file instances, >> different pid file names, and can specify the appropriate arguements to each >> pro

Re: [CentOS] Startup script woes

2009-12-02 Thread Robert Bielik
Les Mikesell skrev: > > The straightforward way would be to give each of your services a different > name > (service-a, service-b, etc) so you would have different init file instances, > different pid file names, and can specify the appropriate arguements to each > program. Yeah, thought of d

Re: [CentOS] Startup script woes

2009-12-02 Thread Steve Huff
On Dec 2, 2009, at 8:47 AM, Jeff wrote: I use the Java Service Wrapper to run JBoss in CentOS 4. A little work to set up, but it works great once you get it figured out. My version is s few years old now, so I can't speak for what may have changed in the meantime. http://wrapper.tanukisoftware

Re: [CentOS] Startup script woes

2009-12-02 Thread Les Mikesell
Robert Bielik wrote: > 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 > o

Re: [CentOS] Startup script woes

2009-12-02 Thread Jeff
On Wed, Dec 2, 2009 at 3:55 AM, Robert Bielik wrote: > 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 "thi

Re: [CentOS] Startup script woes

2009-12-02 Thread John Doe
From: Robert Bielik > 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 > g

Re: [CentOS] Startup script woes

2009-12-02 Thread Robert Bielik
Christoph Maser skrev: > We are a java shop and use an old/patched debian version of > start-stop-daamon rolled in our own rpm. It works but but one problem > whe have is when java is updated stop/restart won't work because the > inode of the process binary is changed. > Also interesting to have a

Re: [CentOS] Startup script woes

2009-12-02 Thread Christoph Maser
Am Mittwoch, den 02.12.2009, 10:55 +0100 schrieb Robert Bielik: > 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