Re: Need help with rc startup

decourl_at_cs.sunyit.edu
Date: 07/20/03


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



Relevant Pages

  • Re: Report in FM 6 or 7
    ... achieve this report format will have to be done via scripting. ... but they will simplify the script and Sort Order. ... End Loop ... The normal 'Dancer' field is used so that if there are more than one ...
    (comp.databases.filemaker)
  • Re: recreate database script not work
    ... I got a script which is supposed to regenerate database systax. ... REM gen_dbse_9.sql ... end loop; ...
    (comp.databases.oracle.server)
  • Re: Loop Problem (At Least I think)
    ... If there are no images matching the product ... "" Then" statement (the one below the loop, outside of it), is this just ... >> script to finish. ... > 2) Read the database table and acess the dictionary object for the ...
    (microsoft.public.scripting.vbscript)
  • Re: How to set up a global variable in a sub-routine?
    ... the 'global variables' are more like constants ... ... single script, I need a way to tell it only once where the file is and ... So, if you construct a loop with a loop variable, you ... >programmers avoid global variables completely. ...
    (perl.beginners)
  • RE: (Urgent) Create many txt files from tables with DTS Package
    ... when i run this script the error show: ... > How to loop through a global variable Rowset ... >> D.90.70.0002 Husain Djojonegoro BOARD OF COMMISSIONER ... >> D.50.04.0071 Putu Supertama Checker BI ...
    (microsoft.public.sqlserver.dts)