FS#62945 - [languagetool] Add systemd service to run server
Attached to Project:
Community Packages
Opened by Stanisław Wokulski (fenuks) - Wednesday, 19 June 2019, 19:27 GMT
Last edited by Andrzej Giniewicz (Giniu) - Thursday, 03 October 2019, 18:05 GMT
Opened by Stanisław Wokulski (fenuks) - Wednesday, 19 June 2019, 19:27 GMT
Last edited by Andrzej Giniewicz (Giniu) - Thursday, 03 October 2019, 18:05 GMT
|
Details
Description:
Various add-ons such as Firefox browser extension[1], or Thunderbird one[2] allow user to configure them to use local instance of LanguageTool. Arch package shell wrapper around LanguageTool jar simplifies running HTTP server, although it would be most convenient to have systemd unit to enable running languagetool server during system start. Additional info: * package version(s) 4.5-1 * config and/or log files etc. Simple, bare-boned service to run server ``` [Unit] Description=Languagetool HTTP server [Service] ExecStart=/usr/bin/languagetool --http --allow-origin "*" Restart=always [Install] WantedBy=default.target ``` [1] https://addons.mozilla.org/en-US/firefox/addon/languagetool/ [2] https://addons.thunderbird.net/en-US/thunderbird/addon/grammar-checker/ |
This task depends upon
Closed by Andrzej Giniewicz (Giniu)
Thursday, 03 October 2019, 18:05 GMT
Reason for closing: Implemented
Additional comments about closing: I've added simple service file in version 4.7, please test and report a bug if something doesn't work for your use-cases.
Thursday, 03 October 2019, 18:05 GMT
Reason for closing: Implemented
Additional comments about closing: I've added simple service file in version 4.7, please test and report a bug if something doesn't work for your use-cases.
```
[Unit]
Description=Languagetool HTTP server
[Service]
User=nobody
ExecStart=/usr/bin/languagetool --http --allow-origin "*"
Restart=always
[Install]
WantedBy=default.target
```