LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2004, 04:01 PM   #1
TrulyTessa
Member
 
Registered: Nov 2004
Location: Canada, eh
Distribution: SuSE 9.2 Pro
Posts: 63

Rep: Reputation: 15
How to have 'at' daemon start automatically on boot


Okay, I figured out that to use 'at', I have to first start the 'at daemon' (atd) by commanding (as root):

/etc/init.d/atd start

But how do I make it so I don't have to do this every time I boot up? Yes, it's simple newbie question time...

Thanks in advance.
 
Old 12-10-2004, 04:25 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

It should be part of Yast (it was up till 9.1).

You could also do it yourself.
The init script should already be in your init.d directory (probably called atd), if it's there make symlinks to the runlevel you start in. I.e.:

cd /etc/init.d/rc3.d
ln -s ../atd S10atd
ln -s ../atd K11atd

The S10atd start this service during boot, the K11atd kills this service during reboot.

The rc3.d is for runlevel 3, for default GUI logins it should be rc5.d (you could also use both).

If it's not there install it first (it's part of SuSe).

PS: Must all be done as root. Take a look at man init.d for more details.

Hope this helps.
 
Old 12-10-2004, 04:37 PM   #3
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Try this.

# chkconfig service_name on

good luck.
 
Old 12-13-2004, 11:11 AM   #4
TrulyTessa
Member
 
Registered: Nov 2004
Location: Canada, eh
Distribution: SuSE 9.2 Pro
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by druuna
Hi,

It should be part of Yast (it was up till 9.1).
When I start up YAST, where do I go to play around with which daemons get started automatically?

Thanks.
 
Old 12-13-2004, 11:12 AM   #5
TrulyTessa
Member
 
Registered: Nov 2004
Location: Canada, eh
Distribution: SuSE 9.2 Pro
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by TrulyTessa
When I start up YAST, where do I go to play around with which daemons get started automatically?

Thanks.
Nevermind, I think I found it under Runlevel Editor!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Start a daemon/program at boot SchwipSchwap Linux - Newbie 15 01-24-2006 01:58 AM
dhcp won't start automatically on boot blk96gt Slackware 5 01-24-2005 01:42 PM
How to start programs automatically at boot? onchiman Linux - Hardware 2 03-18-2003 10:19 AM
Getting a daemon to start at boot cmfarley19 Linux - General 5 12-14-2002 02:54 PM
How do I start ntp daemon at boot? jkcunningham Linux - Software 5 07-19-2002 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration