Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Support of systemd

&pagelevel(4)&pagelevel

As of version 12.1C00 of openFT, SysV init is not supported as a method for automatic openFT startup on Linux platform. Instead, systemd is used. During installation of openFT two new systemd units will be installed:

  1. openFT.service – this allows automatic startup of all created instances of openFT
  2. openFT@.service – this allows selective control on openFT instance

In addition, to customize settings for instances a configuration file override.conf is created for each instance.

By default openFT.service is enabled, means it is starting on system startup. During upgrade of existing installation, old SysV init scripts are uninstalled, so any modifications done to them are lost. 

As a result, interface of /etc/init.d/openFT script is not available anymore and is replaced with following commands:

  1. systemctl start openFT.service – to start all openFT instances
  2. systemctl stop openFT.service – to stop all openFT instances
  3. systemctl restart openFT.service – to restart all openFT instances
  4. systemctl status openFT.service – shows if openFT has been started with ‘systemctl start’ since last system startup.
  5. systemctl enable openFT.service – enables automatic startup of all openFT instances (this is done by default on installation/upgrade)
  6. systemctl disable openFT.service – disables automatic startup of all openFT instances. Still it is possible to select only some instances to be started automatically
  7. systemctl start openFT@instancename.service – starts openFT instance, e.g. systemctl start openFT@std starts std instance of openFT
  8. systemctl stop openFT@instancename.service – stops openFT instance
  9. systemctl restart openFT@instancename.service – restarts openFT instance
  10. systemctl status openFT@instancename.service – shows status of openFT instance
  11. systemctl enable openFT@instancename.service – enables openFT instance. Note that enabling openFT service enables also existing instances when this command was executed
  12. systemctl disable openFT@instancename.service – disables openFT instance. After enabling openFT service followed by disabling of one particular instance, all instances except that disabled one will be started at boot time
  13. systemctl status openFT@* - shows status of all active instances

As an addition to above list, existing openFT commands have been adopted, so they works as follows:

  1. ftstart preserves current behavior, but additionally starts openFT@ service of instance in systemd
  2. ftstop preserves current behavior, but additionally stops openFT@ service of instance in systemd
  3. ftcrei additionally enables openFT@ systemd service of instance
  4. ftdeli additionally disables openFT@ systemd service of instance