I've created an init script for Gentoo that seems to work.

#!/sbin/runscript

depend() {
        need net localmount
        after bootmisc
}

start() {
        ebegin "Starting Continuum"
        start-stop-daemon --background --make-pidfile --pidfile
/var/run/continuum.pid --chuid apache --name java --start --exec
/YOUR_DIR/continuum/bin/plexus.sh
        eend $?
}

stop() {
        ebegin "Stopping Continuum"
        start-stop-daemon --stop --pidfile /var/run/continuum.pid
        eend $?
}

Give it a try and let me know if it works.

[DISCLAIMER] I'm by no means a Gentoo expert, just a fairly
experienced user. This seems to work, I'm not saying this is the best
way to do it.

Reply via email to