hrm.conf file is used by both the Web server and the Queue Manager.
Copy the sample file¶
The sample configuration file
$HRM_SAMPLES/etc/hrm.conf.sample must be copied to
/etc/hrm.conf and then edited as explained in the following sections.
sudo cp $HRM_SAMPLES/etc/hrm.conf.sample /etc/hrm.conf
Edit the configuration file¶
This is the content of the sample configuration file:
#!/bin/bash # # HRM configuration file # # This file is part of the Huygens Remote Manager # Copyright and license notice: see license.txt # HRM install directory HRM_HOME="/path/to/hrm/home" # HRM image share HRM_DATA="/path/to/hrm/data" # Source and destination folder names HRM_SOURCE="src" HRM_DEST="dst" # User to run the HRM daemon with rights to # execute /bin/mkdir, /bin/chown, /bin/chmod and # /bin/rm on HRM_DATA (see above) for user management. SUSER="hrm" # HRM log directory HRM_LOG="/var/log/hrm" # Interaction with OMERO (if switched on in hrm/config). OMERO_HOSTNAME="full.qualified.name.of.omero.server" OMERO_PORT="4064" # Set a custom PHP CLI binary if necessary: # PHP_CLI="/usr/local/php/bin/php"
HRM_DATApoints to the data folder that contains all user subfolders (for example:
HRM_DESTare the source and destination subfolders inside the user directory (for example:
dst). The source folder for an hypothetical user ‘john’ would then be
SUSERis the Unix user that runs the Queue Manager (for example:
HRM_LOGis the log folder for the HRM (for example:
OMERO_PORT: see OMERO connector for details.
PHP_CLIis the path tho the php CLI executable if it is not in the path or another one should be used (for example: