RE: [Exim] chkconfig on RH

Pàgina inicial
Delete this message
Reply to this message
Autor: Chris Russell
Data:  
A: exim-users
Assumpte: RE: [Exim] chkconfig on RH

[root@smtp01 bin]# ln -s /usr/exim/bin/exim /etc/init.d/exim

Noooooooooooooooooooooooooooooooooooooooooo. The init script is an init
script, not a symlink to the binary file.

I've never known the real way, what I do is to copy one of the more
simple init.d scripts (ie: cp /etc/init.d/xinetd /etc/init.d/exim) and
modify that file. Alternatively there are quite a few init scripts
available on the net if you google it.

Bear in mind you can't start Exim as a daemon just with running the
binary, you`ll need "-bd -q1h" or similar.

Cheers,

Chris

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org] On
Behalf Of ListServ
Sent: 02 August 2004 16:21
To: exim-users@???
Subject: [Exim] chkconfig on RH


I am trying to add an entry into chkconfig (/etc/init.d) on a Redhat AS3
box. Would someone like to tell me what I am doing wrong. If I cannot
use RH native utilities what do I use?

[root@smtp01 bin]# ln -s /usr/exim/bin/exim /etc/init.d/exim
[root@smtp01 bin]# chkconfig --add exim
service exim does not support chkconfig
[root@smtp01 bin]# ln -s /usr/exim/bin/exim /etc/init.d/sendmail
[root@smtp01 bin]# chkconfig --add sendmail service sendmail does not
support chkconfig
[root@smtp01 bin]#


Thanks.

roger

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##


--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
MailScanner is part of the Mail Filtering service from Nexent Internet.




___________________________________________________________________

The contents of this e-mail may be privileged and are confidential.
It may not be disclosed to or used by anyone other than the
addressee(s), nor copied in any way. Any views or opinions
presented are solely those of the author and do not necessarily
represent those of Knowledge Limited.

If received in error, please advise the sender, then delete it from
your system.
___________________________________________________________________