(RADIATOR) startup script for radiator on solaris sparc
Ayotunde Itayemi
aitayemi at metrong.com
Tue Aug 19 07:06:22 CDT 2003
Hi Richard, Hi Roland, Hi All.
Thanks. I got it all set up now. Rebooted the box and it came up with radius
running.
Thanks.
Tunde I.
----- Original Message -----
From: "Richard Grantham" <richard at bactel.net>
To: "Ayotunde Itayemi" <aitayemi at metrong.com>
Sent: Tuesday, August 19, 2003 12:52 PM
Subject: Re: (RADIATOR) startup script for radiator on solaris sparc
> Hello,
>
> I use this as /etc/init.d/radiusd. You may find it useful seeing as you
> are and Oracle person. What you should do is link /etc/rc2.d/S80radiusd
> and /etc/rc0.d/K80radiusd to this script too. This will start Radiator
> in run level 2 and stop it in run level 0.
>
> Richard
>
> -- SNIP --
> #!/bin/sh
>
> ORACLE_SID=SID
> ORACLE_HOME=/PATH/TO/ORACLE/HOME
> LD_LIBRARY_PATH=$ORACLE_HOME/lib
> PATH=/sbin:/bin:/usr/local/bin
>
> export ORACLE_SID ORACLE_HOME LD_LIBRARY_PATH PATH
>
> case "$1" in
> 'start')
> radiusd
> ;;
> 'stop')
> kill `cat /var/run/radiusd.pid`
> ;;
> 'restart')
> kill -HUP `cat /var/run/radiusd.pid`
> ;;
> esac
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list