systemd basex.service ubuntu 16.04
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
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
Written for BaseX 8.6. BaseX may have changed since: please check the current documentation.