Skip Navigational Links
LISTSERV email list manager
LISTSERV - COMMUNITY.EMAILOGY.COM
LISTSERV Menu
Log In
Log In
LISTSERV 17.5 Help - LSTSRV-L Archives
LISTSERV Archives
LISTSERV Archives
Search Archives
Search Archives
Register
Register
Log In
Log In

LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Menu
LISTSERV Archives LISTSERV Archives
LSTSRV-L Home LSTSRV-L Home

Log In Log In
Register Register

Subscribe or Unsubscribe Subscribe or Unsubscribe

Search Archives Search Archives
Options: Use Forum View

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

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

Print Reply
Subject:
Automatically Starting LISTSERV in Solars
From:
"Milfajt, Robert" <[log in to unmask]>
Reply To:
LISTSERV give-and-take forum <[log in to unmask]>
Date:
Tue, 20 Feb 2001 16:46:01 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
It looks like I have to write my own init.d script here, and I just wanted
to run the code that will start/stop the listserv server process past this
group to make sure I'm not going to mess something up with the software.
Missing lines include comments and setting of LSVROOT variable.

case $1 in
'start')
  # Start LISTSERV server
  if [ -f $LSVROOT/go ] ; then
    echo "starting LISTSERV server"
    $LSVROOT/go bg
  fi
  ;;
'stop')
  # Stop LISTSERV server
  if [ -f $LSVROOT/spool/listserv.PID ] ; then
    pid=`cat $DATADIR/seekd.pid`
    kill -9 $pid `ps -e -o pid -o ppid | awk "/ $pid\\$/ {print \\$1}"`
  fi
  ;;
esac

Thanks in advance for any help,

Robert Milfajt
Integration Analyst
Northwestern Memorial Hospital
Ph: 312.926.1855
FAX: 312.926.8617
mailto:[log in to unmask]

ATOM RSS1 RSS2

COMMUNITY.EMAILOGY.COM CataList Email List Search Powered by LISTSERV