I'm using Traccar on my Raspberry Pi 3 along Octoprint, so I took all (Traccar) files and copied to Debian on Qnap for testing, started java and everyting worked fine, but I can't get traccar.service file to run.
On Raspberry I could use systemctl command to start, stop, ect, but on Qnap, I almost can't do anything, Debian even didn't had sudo installed.
So I copied service file to /etc/systemd/system/traccar.service and typed, what Traccar Instalation instructions sed, but getting error.
I tried to Google and found out that I have to use service command instead of systemctl, and how I understand that services location changed to /etc/init.d/, so I duplicate traccar.service file and try start service:root@1ccacf022fc9:/# systemctl daemon-reload
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
root@1ccacf022fc9:/# systemctl start traccar.service
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Service --status-all not showing my service in list.root@1ccacf022fc9:/# sudo service traccar.service start
traccar.service: unrecognized service
root@1ccacf022fc9:/# sudo service /etc/init.d/traccar.service start
/etc/init.d/traccar.service: unrecognized service
root@1ccacf022fc9:/# sudo service ssh status <--- Testing command
[ ok ] sshd is running.
How I understand my service should be added somehow to this list to manipulate service status.root@1ccacf022fc9:/# sudo service --status-all
[ - ] dbus
[ ? ] hwclock.sh
[ - ] procps
[ + ] ssh
[ - ] sudo
[ - ] x11-common
Maybe someone could help me to start my service file?