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

Biomaj: location of pid file



Helo,
I installed and tried Biomaj, thanks for your job Olivier,
No problem during install and running th
e sample alu db.
But, I got an minor error

/usr/share/biomaj/bin/biomaj.sh: line 103: /usr/share/biomaj/tmp/.bmajpid_alu: Aucun fichier ou dossier de ce type (for no french speaker => means no found or directory found)

In fact /usr/share/biomaj/tmp doesn't exist, and I think is ok with the debian policy.
The code in biomaj.sh is :

echo $$>$BIOMAJ_ROOT/tmp/.bmajpid_$arg

with $BIOMAJ_ROOT = /usr/share/biomaj

There is a tmp directory for biomaj (tmp.dir in /etc/biomaj/general.conf) but it's use by the java code not the shell script starting biomaj.

I think that the pid file should go to /var/lib/biomaj/tmp or /var/run/biomaj or either /tmp /var/lib/biomaj/tmp is created by the package so it can be use, even if you change the location in general.conf (like I did, to put databases on another partition).

But, I don't know the solution to correct this error.


Thanks again for the packaging.

Best regard,
Anthony.


Reply to: