continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hilco Wijbenga" <>
Subject Re: Gentoo Linux init.d script?
Date Fri, 26 Oct 2007 16:59:59 GMT
I've created an init script for Gentoo that seems to work.


depend() {
        need net localmount
        after bootmisc

start() {
        ebegin "Starting Continuum"
        start-stop-daemon --background --make-pidfile --pidfile
/var/run/ --chuid apache --name java --start --exec
        eend $?

stop() {
        ebegin "Stopping Continuum"
        start-stop-daemon --stop --pidfile /var/run/
        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.

View raw message