You may have a preference to use WebSpellChecker as a service on Linux. By default, it is not available as a service. However, you can create it.

There are plenty of instructions available on the Internet that will explain how to create a service. Here is one of them available on Medium that describes how to create a Linux service.

1. Create a text file, e.g. webspellchecker.service. In the example below, you need to set a name for User and update paths to the installation directory of WebSpellChecker.

webspellchecker.service
[Unit]
Description=WebSpellChecker spelling and grammar checking server
After=network.target
StartLimitIntervalSec=0

[Service]
User=user_name
Environment="LD_LIBRARY_PATH=/opt/WSC/AppServer/lib"
Environment="TZ=:/etc/localtime"
WorkingDirectory=/opt/WSC/AppServer
ExecStart=/opt/WSC/AppServer/AppServerX
Restart=on-failure

[Install]
WantedBy=multi-user.target

2. Once the file is created, you need to copy it into /etc/systemd/system directory.

3. In order to start or stop the service, use the next commands below.

Start the service as follows:

service webspellchecker start

Stop the service as follows:

service webspellchecker stop

You have an option to start the service on boot. To do so, use the following command:

systemctl enable webspellchecker
  • No labels