From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076331021446.tru64-unix-managers.marc@archive.invalid> From: "p.g.key () bham ! ac ! uk"
Date: Wed, 24 Apr 1996 14:38:54 +0000 To: tru64-unix-managers Subject: SUMMARY: POP start *NOT* in /etc/inittab X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076331021446 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