Re: [Exim] Exim 4.32 & FreeBSD 4.10 Release Restart Question

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Odhiambo G. Washington
Date:  
À: Lonnie Santella
CC: exim-users
Sujet: Re: [Exim] Exim 4.32 & FreeBSD 4.10 Release Restart Question
* Lonnie Santella <lonniesantella@???> [20040609 06:43]: wrote:
> *sigh* It's been a very long day. I'm building two servers side-by-side.
> One is FreeBSD 4.10 Release, the other is FreeBSD 5.2 Release. The two are
> just barely different enough to cause my a lot of grief.
>
> I found the "exim.sh" script on the 5.2 server in /etc/rc.d folder, where it
> should be. On the 4.10 server, the same script is in /usr/local/etc/rc.d
> Argh... think I better shut one down for a while. I'm starting to see
> double. Sorry guys.
>
> Any opinions on one versus the other? Based on experience?


FreeBSD 4.10 and 5.x should both be able to use rcNG. If you don't have
/usr/local/etc/rc.subr on the 4.10 system then install this port:

/usr/ports/sysutils/rc_subr

Then in both cases now, the file rc.subr will be in local/etc.
From there (on your 4.10 box) you can

mv /etc/rc.d/exim /usr/local/etc/rc.d/exim.sh

Now ensure that you have

exim_enable="YES" in /etc/rc.conf in both boxes. This way
sh /usr/local/etc/rc.d/exim.sh {start|stop} will work on both boxes.




        cheers
       - wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
                         --from a /. post