Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
start service autmatically

start service autmatically

2003-02-06       - By Jazz

 Back
Reply:     1     2     3  

   Hy,

   Just put the command line that you use to start
Qpopper inside a shell script and place this script in
"/etc/init.d" directory. There you'll find the scripts
that start other services, and you can look inside
them as examples. It is good to make these scripts
understand command line parameters like "start" and
"stop", because in the boot process the system calls
the scripts like "sendmail start" and when you shut
down the system it calls it with the "stop" parameter
in order to shut them down to.
   You must also make a simbolic link (ln -s) in the
directory /etc/rc?.d to /etc/init.d/your_script_here,
where "?" is the runlevel you start your system
(usually 3 for text login and 5 to graphical login)
and that's all. If you look inside these directories
you'll easilly understand how it works.

    Good luck!

JAZZ


--- Gentian Hila <gentian_hila@(protected)> escreveu: >

> Finally after a good period of trying i was able to
> install Sendmail as SMTP and Qpopper as POP3 server.
> It is working fine. I installed Qpopper as
> standalone server not as a xinetd. Every time i
> restart Redhat i have to enter qpopper command in
> order to start Qpopper. How can i run it
> automatically as a service ? I entered ntsysv
> command but i didn't really see something for
> qpopper there.
>
> A send question: Every time i start Redhat (gnome )
> as root, it opens two windows automatically, gedit
> window and a file manager window. Every time i close
> them but when i reboot they are still there. How can
> i fix this ?
>
> Any help is appreciated.
>
> Genti
>
>
>
> -- ---- ---- ---- ---- ---- -----
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now

__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ___
Busca Yahoo!
O servi?o de busca mais completo da Internet. O que voc? pensar o Yahoo!
encontra.
http://br.busca.yahoo.com/