Re: How to add service on system reboot

From: Reuben D. Budiardja (techlist_at_voyager.phys.utk.edu)
Date: 05/27/04

  • Next message: Jason Dixon: "Re: How to add service on system reboot"
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    Date: Thu, 27 May 2004 07:52:40 -0400
    
    

    On Wednesday 26 May 2004 06:43 pm, Muhammad Rizwan Khan wrote:
    > Hello
    >
    > I have written a serive in C++,,, it runs as daemon. I always start this
    > service manually typing this command:
    > /usr/bin/myservice start
    > I want to run this service atomatically when system reboots.

    You can put the command in /etc/rc.local. That script is run after all other
    init scripts.

    RDB

    -- 
    Reuben D. Budiardja
    Department of Physics and Astronomy
    The University of Tennessee, Knoxville, TN
    ---------------------------------------------------------
    "To be a nemesis, you have to actively try to destroy 
    something, don't you? Really, I'm not out to destroy 
    Microsoft. That will just be a completely unintentional 
    side effect."
                     - Linus Torvalds -
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Jason Dixon: "Re: How to add service on system reboot"

    Relevant Pages

    • Re: How to add service on system reboot
      ... On May 26, 2004, at 6:43 PM, Muhammad Rizwan Khan wrote: ... > service manually typing this command: ... HTH. ...
      (RedHat)
    • rc.local question and script launching question
      ... I have a command I am trying to run after my Fedora Core 3 machine boots. ... as a user logs into an X session. ... # This script will be executed *after* all the other init scripts. ...
      (alt.os.linux)
    • How to add service on system reboot
      ... I have written a serive in C++,,, it runs as daemon. ... service manually typing this command: ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)