summarylogtreecommitdiffstats
path: root/languagetool.service
blob: c96a0193acc98865dab3276b4e4ce26f4fa7f364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Languagetool HTTP server

[Service]
Type=simple
PIDFile=/run/language-tool.pid
Restart=always
ExecStart=/usr/bin/languagetool --http --allow-origin "*"
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -QUIT $MAINPID
DynamicUser=yes

[Install]
WantedBy=multi-user.target