Hi Pierre,
Here's mine:
#####################
#!/sbin/runscript
# Startup script for James Mail server
#
# chkconfig: 345 95 92
# description: Run James Mail server
# processname: james
export JAVA_HOME=`java-config --jdk-home`
depend() {
need net
use mysql dns logger netmount
}
start() {
ebegin "Starting james"
start-stop-daemon --start --quiet --exec
/usr/local/james/bin/phoenix.sh \
--background -- start >/dev/null 2>&1
eend $?
}
stop() {
ebegin "Stopping james"
start-stop-daemon --start --quiet --exec /usr/local/james/bin/phoenix.sh
\
--background -- stop >/dev/null 2>&1
eend $?
}
###################
hth,
Craig
Pierre Smits wrote:
Hi,
I am trying to get james to run at startup of the gentoo server, but it
doesn't seem to start.
How should the startup in /etc/init.d/james be?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]