Solaris init.d scripts for INN

Katsuhiro Kondou kondou at
Sun Apr 8 22:10:24 UTC 2001

In article <Pine.LNX.4.30.0104061707500.24616-201000 at>,
	James Ralston <qralston+ml.inn-workers at> wrote;

} Several people asked me about these, so here are the Solaris init
} scripts I wrote for INN.
} The scripts go into /etc/init.d.  You have to make the symbolic links
} to them:

Why don't you use

case ${1} in

        # Start the INN daemon
        if [ -x /news/bin/ ]; then
                echo "starting InterNetNews"
                su - news -c /news/bin/
        # Stop the INN daemon
        if [ -x /news/bin/ ]; then
                su - news -c /news/bin/ stop

should work for it.  Mine has it in /etc/rc2.d/S99news and
Katsuhiro Kondou

More information about the inn-workers mailing list