Configuring XDAQ applications to be started as system service

Edit the following three files:

/opt/xdaq/share/`cat /etc/`/conf/myservicename.conf
/opt/xdaq/share/`cat /etc/`/conf/myconfig.xml
/opt/xdaq/share/`cat /etc/`/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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2008-08-12 - AndreHolzner
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

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