#!/bin/sh # # irbox: Starts the in.ivyd super-daemon for the ivyd Ivy relay # # Version: @(#) /etc/rc.d/init.d/irbox.init 1.0 # # chkconfig: - 97 03 # description: This is a daemon that works as a port server for ivyd, \ # a relay to Ivy for short-lived applications # processname: in.ivyd # config: # Source function library. . /etc/rc.d/init.d/functions # See how we were called. case "$1" in start) echo -n "Ivy daemon port server... " daemon in.ivyd -boot echo touch /var/lock/subsys/in.ivyd ;; stop) echo -n "Shutting Ivy dameon port server " killproc in.ivyd rm -f /var/lock/subsys/in.ivyd echo ;; status) status in.ivyd ;; restart) $0 stop $0 start ;; *) echo "*** Usage: in.ivyd {start|stop|status|restart}" exit 1 esac exit 0