Find the answer to your Linux question:
Results 1 to 5 of 5
i'm running redhat linux 8.0. how do i manually add new services to /etc/rc.d/init.d? Everytime i copy a file into it (ie: mysqld), it doesn't show up on the serviceconf ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2003
    Location
    NJ
    Posts
    5

    services...


    i'm running redhat linux 8.0. how do i manually add new services to /etc/rc.d/init.d? Everytime i copy a file into it (ie: mysqld), it doesn't show up on the serviceconf console

    by the way, I'm running the graphical version

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Have you made the file executable?

  3. #3
    Just Joined!
    Join Date
    May 2003
    Location
    NJ
    Posts
    5
    yes

  4. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Well, I don't know exactly how serviceconf works (it is possible that it only plays with existing symlinks), but can't you just install the symlinks manually instead?

  5. #5
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    You must add the service with the chkconfig command like this...


    Code:
    chkconfig --add mysqld
    And then you tell which runlevel the service should start.
    Code:
    chkconfig --level 012456 mysqld off
    chkconfig --level 3 mysqld on
    Regards

    Regards

    Andutt

Posting Permissions

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