Added LanguageTool

This commit is contained in:
Steven Seifried 2022-01-20 21:14:57 +01:00
parent 6ed4fc3a56
commit e259647178
No known key found for this signature in database
GPG key ID: 174371A9356D63E5
4 changed files with 255 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[Unit]
Description=LanguageTool
After=syslog.target
After=network.target
[Service]
Type=simple
User=languagetool
Group=nogroup
WorkingDirectory=/opt/LanguageTool
ExecStart=/usr/bin/java -cp /opt/LanguageTool/languagetool-server.jar org.languagetool.server.HTTPServer --config languagetool.cfg --port 8081 --allow-origin "*" --public
Restart=always
#Environment=USER= HOME=/opt/LanguageTool
[Install]
WantedBy=multi-user.target