Loading...
Select Version
&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:
- openFT.service – this allows automatic startup of all created instances of openFT
- 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:
- systemctl start openFT.service – to start all openFT instances
- systemctl stop openFT.service – to stop all openFT instances
- systemctl restart openFT.service – to restart all openFT instances
- systemctl status openFT.service – shows if openFT has been started with ‘systemctl start’ since last system startup.
- systemctl enable openFT.service – enables automatic startup of all openFT instances (this is done by default on installation/upgrade)
- systemctl disable openFT.service – disables automatic startup of all openFT instances. Still it is possible to select only some instances to be started automatically
- systemctl start openFT@instancename.service – starts openFT instance, e.g. systemctl start openFT@std starts std instance of openFT
- systemctl stop openFT@instancename.service – stops openFT instance
- systemctl restart openFT@instancename.service – restarts openFT instance
- systemctl status openFT@instancename.service – shows status of openFT instance
- systemctl enable openFT@instancename.service – enables openFT instance. Note that enabling openFT service enables also existing instances when this command was executed
- 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
- 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:
- ftstart preserves current behavior, but additionally starts openFT@ service of instance in systemd
- ftstop preserves current behavior, but additionally stops openFT@ service of instance in systemd
- ftcrei additionally enables openFT@ systemd service of instance
- ftdeli additionally disables openFT@ systemd service of instance