health-dev
[Top][All Lists]
Advanced

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

Re: [Health-dev] GNU Health at system start


From: Kaushik
Subject: Re: [Health-dev] GNU Health at system start
Date: Wed, 07 Aug 2013 14:52:51 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

HI Luis, Emilien,
           The system start daemon script below at [0] does work in ubuntu. I just had to change the path variables.

HOMEDIR="/home/gnuhealth"
DAEMON="${HOMEDIR}/gnuhealth/tryton/server/trytond-2.8.1/bin/trytond"

test -x "${DAEMON}" || exit 0

NAME="gnuhealth-server"
DESC="GNU Health Server (Tryton Application Platform)"
DAEMONUSER="gnuhealth"
PIDDIR="/var/run/${NAME}"
PIDFILE="${PIDDIR}/${NAME}.pid"
LOGFILE="${HOMEDIR}/${NAME}.log"
DAEMON_OPTS="--logfile=${LOGFILE}"


The rest were unchanged. I put the script in /etc/init.d and made two softlinks to it (/etc/rc2.d/S99gnuhealth and /etc/rc2.d/K99gnuhealth).

This does bring up the tryton server at startup. I am on Ubuntu 12.04.2 LTS.

Kaushik



On Monday 05 August 2013 07:09 PM, Emilien Klein wrote:
Hi Kaushik,
 
As I mentioned, there's a little bit that's dependent on the layout of the Debian package. Those locations is where the Debian package for Tryton and GNU Health are placing their stuff, if you've followed the "install from the release tarball" instructions the executables and config files will be located at other places.
 



On Friday 02 August 2013 08:17 PM, Luis Falcon wrote:
Hi Emilien !
On 02/08/2013 09:42, Emilien Klein wrote:




 
Kaushik, could you try in your Ubuntu box and get back to us .
 
Best,

2 



--
Luis Falcon
http://health.gnu.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]