Ubuntu Server 16.04.2 with Traccar 3.11 Autostart Problem

spel7 years ago

Hello,

I tried this thread but Traccar do not start at boot.

sudo systemctl status traccar.service shows this

...
Starting traccar...
traccar.service: Control process exitedm code=exited status=203
Failed to start traccar.
traccar.service: Unit entered failed state.
traccar.service: Failed with result 'exit-code'.
sudo nano /etc/systemd/system/traccar.service

[Unit]
Description=traccar
After=syslog.target

[Service]
Type=forking
ExecStart=/opt/traccar/bin/traccar start sysd
ExecStop=/opt/traccar/bin/traccar stop sysd

[Install]
WantedBy=multi-user.target

Thanks a lot!

Anton Tananaev7 years ago

Traccar doesn't use systemd.