[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] Gentoo IC Script


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
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.