Ubuntu 15.10 autostart

kiryat89 years ago

I upgraded to Ubuntu 15.10 and now the traccar server does not autorun .
I can start it in a terminal by
sudo /opt/traccar/bin/traccar start
I do not remember if Ubuntu was 14.04 or 15.04 so it may be a systemd thing.
How do I autostart on Ubuntu 15.10.
Anyone have a script or instructions.
Thanks.

Anton Tananaev9 years ago

I've just tried it on my laptop and I can confirm that there is a problem with Java Service Wrapper on Ubuntu 15.10. I guess the only thing we can do is wait for them to fix it.

Anton Tananaev9 years ago

Ubuntu 15.10 uses systemd as an init system.

Try following steps:

  1. Install Traccar
  2. Remove service:
    sudo /opt/traccar/bin/traccar remove
  3. Edit "/opt/traccar/bin/traccar" script and set "USE_SYSTEMD=true"
  4. Install service:
    sudo /opt/traccar/bin/traccar install
kiryat89 years ago

Thanks a million.
“USE_SYSTEMD=true” in the steps you provided worked.
Thank you again.