LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Darelle Ng <[log in to unmask]>
Wed, 3 Apr 1996 09:33:20 +1000
text/plain (38 lines)
Can someone who run Listserv on an OSF/1 machine please let me know how do
you start it automatically after reboot?
 
I'm running Listserv 1.8b on an V3.2 alpha and I have tried the following:
 
1. inittab entry - listserv:2:respawn:/usr/local/listserv/go bg (I have
tried run level 3 as well)
 
2. create /sbin/init.d/listserv and link it to /sbin/rc3.d/S98listserv.
/sbin/init.d/listserv contains the following (it was a startup script that
was being sent to me from Germany that I have modified):
 
#!/bin/sh
pid=`/sbin/ps -e | /sbin/grep lsv$ |\
        /usr/bin/sed -e 's/^ *//' -e 's/ .*//'`
 
LSVDIR=/usr/local/listserv
if ["${pid}" = ""]; then
        if [ -x ${LSVDIR}/go ]
        then
                echo 'Starting Listserv.'
                ${LSVDIR}/go bg >${LSVDIR}/listserv.out 2>&1 &
        fi
else
        echo 'Listserv is already running.'
fi
 
I have checked the passwd file and files permission and they look fine. Have
I missed something?
 
Thanks.
 
------------------------------------------------------------------
Darelle Ng                              email: [log in to unmask]
Information Technology Services         Phone: +61 3 9479 1609
La Trobe University                     Fax:   +61 3 9479 1999
------------------------------------------------------------------

ATOM RSS1 RSS2