ts-7000
[Top] [All Lists]

[ts-7000] Re: startup script problem

To:
Subject: [ts-7000] Re: startup script problem
From: "Harold" <>
Date: Tue, 19 Jul 2011 17:22:24 -0000
It might actually get started at startup, but then get terminated due to SIGHUP.

--- In  "vmasterc" <> wrote:
>
> I'm having a problems running a script on start up.
> Here is the process I have followed:
> 
> 1. Created a script at /etc/init.d/my_script.sh which runs an application at 
> /home/eclipse/my_app
> 
> 2. permitted execution as follows:
>          chmod +x /etc/init.d/my_script.sh 
>          chmod +x /home/eclipse/my_app
> 
> 3. assigned it to run on runlevel 3 as follows:
>          update-rc.d -f my_script.sh start 99 3 .
> 
> Now, if I change runlevels and change back to runlevel 3 by calling
>          telinit 2
>          telinit 3
> the script runs, and the application my_app starts running.
> 
> All fine so far...
> However, when I reboot the device, my_app is never running when the device 
> has booted up, even though I am in runlevel 3, suggesting that that my_script 
> is not run on startup.
> 
> Can anyone suggest why it might not be running at startup?
> Is there any way of getting a record of scripts that are run on start up?
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU