...
Warning |
---|
For the termtagger supervisor invocation is at least needed translate5 version 3.4.0 |
Important: restart supervisord after creating the above configuration file.
Code Block |
---|
|
sudo systemctl restart supervisor
|
After the restart the termtagger(s) server should have been started automatically. To verify this do:
Code Block |
---|
|
sudo supervisorctl status
# this should output then something similar to:
termtagger:termtagger_9001 RUNNING pid 18505, uptime 0:01:07
|
SysVinit init.d startup script (alternative method - not recommended)
To have openTMStermTagger running on start up, you should start and stop the TermTagger with an init.d script.
...
Code Block |
---|
|
sudo chmod 755 /etc/init.d/openTMSTermTagger
sudo update-rc.d openTMSTermTagger defaults
sudo /etc/init.d/openTMSTermTagger start |
Warning |
---|
title | Ensure here also that the base termtagger scripts are executable. |
---|
|
sudo chmod u+x /var/www/translate5/application/modules/editor/ThirdParty/XliffTermTagger/startServer.sh sudo chmod u+x /var/www/translate5/application/modules/editor/ThirdParty/XliffTermTagger/stopServer.sh |
SystemD start script (alternative method - not recommended)
Code Block |
---|
language | bash |
---|
title | Ensure that the start and stop scripts delivered with translate5 are executable: |
---|
|
sudo chmod u+x /var/www/translate5/application/modules/editor/ThirdParty/XliffTermTagger/startServer.sh
sudo chmod u+x /var/www/translate5/application/modules/editor/ThirdParty/XliffTermTagger/stopServer.sh |
...