[ic] Gentoo IC Script

Mr. Lock - Sales sales at mrlock.com
Mon Jan 16 16:25:23 EST 2006


Hello List,

If anyone has a good start/stop script for Gentoo I would like to see it.

I have a real basic one - comments?

I called it ic and is located in /etc/init.d

#!/sbin/runscript

depend() {
        need apache2
}

start() {

su interch -c "/usr/local/interchange/bin/interchange --start"
}

stop() {
su interch -c "/usr/local/interchange/bin/interchange --stop"

}

restart() {
su interch -c "/usr/local/interchange/bin/interchange --restart"

}



Thanks,
Steve


More information about the interchange-users mailing list