Configuring XDAQ applications to be started as system service

Edit the following three files:

/opt/xdaq/share/`cat /etc/`/base/conf/myservicename.conf
/opt/xdaq/share/`cat /etc/`/base/conf/myconfig.xml
/opt/xdaq/share/`cat /etc/`/base/conf/xdaqd.`hostname -f`.conf

xdaqd.`hostname -f`.conf

This is a host-specific xdaqd config file which can be copied from /opt/xdaq/share/base/conf/xdaqd.conf. Edit the copied file and add myservicename to the setting of the shell variable STARTUP_LIST, e.g.

STARTUP_LIST="jobcontrol myservicename"


Set the shell variables XDAQ_CONFIG, XDAQ_LOG and XDAQ_PORT, e.g. as follows:

XDAQ_CONFIG=/opt/xdaq/share/`cat /etc/`/conf/myconfig.xml


This is an ordinary XDAQ configuration file.

-- AndreHolzner - 05 Aug 2008

This topic: Main > TWikiUsers > AndreHolzner > AndreHolznerTTC > AndreHolznerTTCConfigureXdaqService
Topic revision: r1 - 2008-08-05 - AndreHolzner
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback