You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Santosh <sa...@wirkle.com> on 2006/05/23 13:13:27 UTC

running james as a linux service

I was looking for the script by ejbsolutions for running james as a
service. Url in the Wiki <http://wiki.apache.org/james/RunAsService>   -
http://www.ejbsolutions.com/products/obox/community/ch20.html seems to
be down. 
 
If you have it, please send it to me.
 
Thanks,
Santosh. 

RE: running james as a linux service

Posted by Santosh <sa...@wirkle.com>.
Perfect...it worked.

I am using:
James 2.2.0
with Java 1.4.2_04
on Fedodra Core 2

Thanks a lot.
Santosh.

-----Original Message-----
From: Stefano Bagnara [mailto:apache@bago.org] 
Sent: Tuesday, May 23, 2006 4:58 PM
To: James Users List
Subject: Re: running james as a linux service

Santosh wrote:
> I was looking for the script by ejbsolutions for running james as a
> service. Url in the Wiki <http://wiki.apache.org/james/RunAsService>
-
> http://www.ejbsolutions.com/products/obox/community/ch20.html seems to
> be down. 
>  
> If you have it, please send it to me.
>  
> Thanks,
> Santosh. 

# cat /etc/rc.d/init.d/phoenix
----------------------------
#!/bin/sh
# Startup script for anacron
#
# chkconfig: 3 80 20
# description: Run cron jobs that were left out due to downtime

# Source function library.
. /etc/rc.d/init.d/functions

[ -f /usr/local/james-2.3.0a3/bin/phoenix.sh ] || exit 0

/usr/local/james-2.3.0a3/bin/phoenix.sh $1




On redhat/fedora system you can install this using "chkconfig --add
phoenix"


Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: running james as a linux service

Posted by Stefano Bagnara <ap...@bago.org>.
Santosh wrote:
> I was looking for the script by ejbsolutions for running james as a
> service. Url in the Wiki <http://wiki.apache.org/james/RunAsService>   -
> http://www.ejbsolutions.com/products/obox/community/ch20.html seems to
> be down. 
>  
> If you have it, please send it to me.
>  
> Thanks,
> Santosh. 

# cat /etc/rc.d/init.d/phoenix
----------------------------
#!/bin/sh
# Startup script for anacron
#
# chkconfig: 3 80 20
# description: Run cron jobs that were left out due to downtime

# Source function library.
. /etc/rc.d/init.d/functions

[ -f /usr/local/james-2.3.0a3/bin/phoenix.sh ] || exit 0

/usr/local/james-2.3.0a3/bin/phoenix.sh $1




On redhat/fedora system you can install this using "chkconfig --add phoenix"


Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org