SUMMARY: POP start *NOT* in /etc/inittab

From: <p.g.key_at_bham.ac.uk>
Date: Wed, 24 Apr 1996 14:38:54 GMT

Thanks to all who replied:

Steffen Kluge
bremner
Troy Bull
Stephen.Campbell
Mohan Mahajan
mpineda
Gernot M. Fuchs
Pat Taylor
Carlos A M dos Santos
Ryan Bae
Anthony D'Atri

The solution I used was suggested by Steffen Kluge and is as follows:


I would not recommend modifying /etc/inittab. Just create a pop
startup script in /sbin/init.d. This is the way I did it:

1. Use /sbin/init.d/lpd as skeleton, copy this file to
   /sbin/init.d/pop and edit it to have it start/stop
   the pop daemon;

2. Create links for this file in directories /sbin/rc0.d
   and /sbin/rc3.d. Choose appropriate sequence numbers to
   place the file correctly within the boot/shutdown
   sequence. For my system, the following works:

   cd /sbin/init.d
   ln -s ../init.d/pop ../rc3.d/S41pop # start it right after sendmail
   ln -s ../init.d/pop ../rc0.d/K24pop # stop it just before sendmail

3. Reboot or execute the script by running the pop daemon:
        #. /sbin/init.d/pop start


Thanks to all again,

Paul
Received on Wed Apr 24 1996 - 16:31:32 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT