[Infrastructures] updated rc.isconf

Steve Traugott stevegt@TerraLuna.Org
Thu, 6 Oct 2005 00:01:15 -0700


Since we're starting to see patch and bug reports for ISconf 4.2.6, I
should take this opportunity to mention that tickets are preferred
versus mail, and patches attached to those tickets are preferred
rather than complete files.  Anyone who is an infrastructures list
member is already a member of the ISconf development site at
http://trac.t7a.org/isconf/; you can already edit wiki pages, submit
tickets, and so on.

And thanks Mohammed!  I opened ticket 55 to track this.  
(http://trac.t7a.org/isconf/ticket/55)

Steve

On Sun, Oct 02, 2005 at 12:20:47PM +0200, Mohammed Arafa wrote:
> #!/bin/bash
> #
> # /etc/init.d/isconf
> #
> # chkconfig: 345 80 20
> #
> # description: infrastructure build and configuration manager daemon
> #
> # processname: isconf
> #
> case "$1" in
> start)
> echo "Starting isconf daemon"
> isconf start
> sleep 10
> echo "Running isconf update"
> isconf -r up
> ;;
> stop)
> echo "Stopping isconf daemon"
> isconf stop
> ;;
> restart|force-reload)
> echo "Restarting isconf daemon"
> isconf stop
> sleep 10
> isconf start
> ;;
> status)
> pgrep isconf >> /dev/null
> if ! [ $? = "1" ] ; then
> echo -n "isconf is running with pid: " && pgrep -o isconf
> else
> echo "isconf is not running!"
> fi
> ;;
> *)
> echo "Usage: $0 {start|stop|restart|force-reload|status}"
> exit 1
> ;;
> esac
> exit 0

-- 
Stephen G. Traugott  (KG6HDQ)
UNIX/Linux Infrastructure Architect, TerraLuna LLC
stevegt@TerraLuna.Org 
http://www.stevegt.com -- http://Infrastructures.Org