devinfo  

[e-smith-devinfo] Stopping Services

jason
Fri, 24 Aug 2001 21:22:08 -0700

Help,
 I thought I had it all figured once I learnt how to start the service and
look at what rc level it used...

I am trying to make the domino service stop automagically but it does not
stop... I have the links to the script from rc6.d/rc3.d and rc5.d to the
rc.d/init.d/domino script which features below...

/etc/rc.d/init.d/domino
#!/bin/sh
PATH=/usr/local/sbin:usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/notesdata

case "$1" in
start)
     echo -n "Starting Lotus Domino Server: "
     su - notes -c "/opt/lotus/bin/serverstart.sh &"
;;
stop)
     echo -n "Stopping Lotus Domino Server: "
     su - notes -c "cd /local/notesdata; /opt/lotus/bin/server -q"
;;
*)
     echo "Usage: $0 {start|stop}" >&2
exit 1
;;
esac
exit 0


Can anyone offer some advise...

Thankyou,

Jason Green,
Lotus Notes Admin/Developer.
Canberra Australia.


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org