Re: Need help with rc startup
decourl_at_cs.sunyit.edu
Date: 07/20/03
- Next message: Kevin Gorman: "Re: Vue still doesn't start on HPUX 9. it makes me crazy !"
- Previous message: Jim Hollenback: "Re: /usr/include/sys/socket.h"
- In reply to: Ed Brown: "Need help with rc startup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 20 Jul 2003 01:35:57 GMT
Ed,
Try changing your call to the inner script to an "at now" job.
Or, do "nohup [script]"
Hope this helps,
Lincoln DeCoursey
In article <c3a6c5f4.0307071502.6c99d11c@posting.google.com>, Ed Brown
<ebrown@computer-systems.com> writes:
>I have a script I want to run at system bootup to start another script
>running in the background as another user. I have setup the config
>script in /etc/rc.config.d, the main script in /sbin/init.d, and a
>link to the script in /sbin/rc2.d. On bootup, the main script runs and
>executes the second script as a background process, but the second one
>then dies. It should continue to execute, as it contains a "while
>true" loop. I have basically the same script working fine on bootup on
>SCO Openserver and Solaris systems, but can't figure out why it won't
>keep running on HP-UX. My scripts and config info are included below.
>I've tried dropping the "su -c" stuff and letting it all run as root,
>but get the same results - the script test.sh runs for one loop, and
>then either dies or gets killed. Any suggestions would be appreciated!
----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web -----
http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
NewsOne.Net prohibits users from posting spam. If this or other posts
made through NewsOne.Net violate posting guidelines, email abuse@newsone.net
- Next message: Kevin Gorman: "Re: Vue still doesn't start on HPUX 9. it makes me crazy !"
- Previous message: Jim Hollenback: "Re: /usr/include/sys/socket.h"
- In reply to: Ed Brown: "Need help with rc startup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|