Results 1 to 3 of 3

Thread: Startup Scripts

  1. #1
    Join Date
    Nov 2006
    Beans
    Hidden!

    Startup Scripts

    This is probably a very basic question, but how would I go about launching a program on system boot? My ubuntu server is headless and does not run X or Gnome at all, so I can not use the GUI that your documentation suggests.
    I am very new to linux, but I essentially want the box to do things like launch ddclient daemon, launch rtorrent, launch apache, etc.. without any human intervention.

    Thanks for your help!

  2. #2
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: Startup Scripts

    Nevermind, I found an article via google:

    http://www.debian-administration.org/articles/28

  3. #3
    Join Date
    Jan 2006
    Location
    United Kingdom
    Beans
    2,787
    Distro
    Kubuntu 6.06 Dapper

    Re: Startup Scripts

    You may prefer (find it easier) to launch one-shot applications at startup by adding them to /etc/rc.local - this script gets parsed every boot following the completion of the runlevel.

    Note that many applications will already be configured to run at boot - e.g. Apache and, presumably, ddclient from your list.

    Mathew
    www.NewtonNet.co.uk - Now supporting IPv6!

    ~ Please don't use PM's to request assistance - post your query on the forum and share the discussion - if you've got a problem chances are you won't be the only one! ~

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •