![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Database can't start automatically on solaris | Sachin Vaidya | SUN Solaris | 2 | 02-27-2008 11:12 PM |
| How can I make a program start up automatically after the computer restart/startup? | munna_dude | Shell Programming and Scripting | 1 | 02-07-2007 09:13 AM |
| Postfix | rbizzell | UNIX for Advanced & Expert Users | 3 | 11-03-2006 05:27 AM |
| How to start Oracle database automatically | greg0320 | SUN Solaris | 3 | 03-30-2005 06:46 PM |
| How do I start a program when I start my Computer? | l008com | UNIX for Dummies Questions & Answers | 1 | 06-23-2002 09:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Postfix has an initscript just like sendmail did so while logged in as root, simply type: ntsysv and select postfix.
The message above is from the Redhat postifx FAQ. I tried running ntsysv and postfix is not listed as a selection. I can start postfix manually without any problems, but I need it to start on boot. What other way is there to get this setup? Thanks |
|
|||||
|
Well, just using ntsysv on a Redhat system won't allow you to add new scripts to the init.d / rc*.d areas. It allows you to turn on / off existing scripts.
If you installed from an RPM, it should have added startup scripts for you, which you could turn off and on. The easiest way would probably be to simply add some lines to the rc.local file, instead of writing a large new script to handle stop / restart / start / status conditions... I don't remember exactly where it lie, but it's below the /etc directory somewhere... maybe in /etc/rc.d ? |
![]() |
| Bookmarks |
| Tags |
| linux commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|