Re: run process in startup

From: Paul Howarth (paul_at_city-fan.org)
Date: 05/31/05

  • Next message: Steven Stern: "Re: run process in startup"
    Date: Tue, 31 May 2005 12:57:41 +0100
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Ahmed Abdel-Aliem wrote:
    > hi
    > i have installed a program which i want it to start each time when the
    > system starts
    > i dunno how to do this
    > can anyone help me and tell me what to edit ?
    > here is the command i use to run the program from the terminal
    > /usr/local/bin/noip2

    Put the command you want to run in a script called:

    /etc/rc.d/rc.local

    The command should either run in the background or exit quickly, or you
    won't be able to log in. So if the command does not background itself,
    or exit after doing what it needs to do, put a "&" after the command to
    run it in the background.

    Example:

    # echo '/usr/local/bin/noip2 &' >> /etc/rc.d/rc.local
    # chmod +x /etc/rc.d/rc.local

    Paul.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Steven Stern: "Re: run process in startup"

    Relevant Pages

    • Re: Most dependable way to run system commands
      ... Eventually I'd like to bring the execution of a few system commands ... specific execution issue (it dealt more with executing Perl code)). ... Unix and many similar systems, the exit status is an integer, with 0 ... variable after running a command via system or backticks. ...
      (perl.beginners)
    • Re: very slow cursor in CMD window w/Text editor?
      ... REM MS-DOS-based application, Windows runs COMMAND.COM. ... To run CMD.EXE, the Windows command prompt, ... The exit command is an internal command part of command.com or cmd.exe. ...
      (microsoft.public.windowsxp.general)
    • Re: difference between the -o and || conditionals.
      ... you are running a first "[" command with ... equal to the number whose string representation is in its third ... a non-0 exit status otherwise. ... the cat and grep commands are run and its (possibly ...
      (comp.unix.shell)
    • [SLE] Printing help needed
      ... I broke my printing somehow. ... renderer command line returned an unrecognized error code 255.", exit ... printing through Kprinter and directly, command line, etc.). ... error on renderer command line or PostScript error. ...
      (SuSE)
    • Re: [BUGFIX 2/2] gdth: bugfix for the Timer at exit crash
      ... I have more problems reported, with exit, and am just sending one more patch that puts ... What does a driver need to do if it needs a consistent shutdown retine? ... The alternative for GDTH would be to process the SCSI SYNCHRONIZE CACHE ... Why would we think that the controller does not support this command ...
      (Linux-Kernel)