There no systemd unit file in upstream, but you can use some simple unit
file like this (put it to `/etc/systemd/system/tika.service`):

[Unit]
Description=Apache Tika server
After=network.target
Requires=network.target

[Service]
ExecStart=/path/to/java -jar /path/to/tika-server.jar --host localhost
--port 9998

[Install]
WantedBy=multi-user.target

After that you can start it with `systemctl start tika.service` and enable
auto-start with `systemctl enable tika.service`.


вт, 30 июня 2015 г. в 0:18, Stefan Alder <[email protected]>:

> Is there a systemd script/config recommended for tika-server?  I'm
> planning to run on Centos 7.  Thanks!
>
-- 
Best regards,
Konstantin Gribov

Reply via email to