systemd basex.service ubuntu 16.04

Monday, 10 April 2017 · 2 messages
SW
Stephen White10 Apr 2017 10:50 #
Does anyone have a working combination for launch basexhttp as a service using systemd? If not, what is the suggested method to auto launch on reboot. Cheers, Steve
DK
Dirk Kirsten10 Apr 2017 10:54 #
Hello Steven, it really shouldn't be to hard to write your little systemd service file. For example, my service file basexserver looks like this: [Unit] Description=BaseX database server [Service] PIDFile=/var/run/basex.pid ExecStart=/opt/basex/bin/basexserver [Install] WantedBy=multi-user.target Adapt this to your needs for basexhttp. I am sure there are also many other possible configuration parameters you might want to add, but it might be the easiest if you check the systemd help for that.
Quoted text · Stephen White · 9 lines
On 04/10/2017 10:50 AM, Stephen White wrote: > > Does anyone have a working combination for launch basexhttp as a > service using systemd? > > If not, what is the suggested method to auto launch on reboot. > > Cheers, > Steve
-- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 91 68 276, Fax: 0049 7531 20 05 22

⚡Generated with XQuery