Is it possible to run the server only and not run the webapp?
yes you can, -- web check the service. traccar.service
How do I prevent the service form running then?
Just close the web port on your firewall. Why overcomplicate things?
Is it possible to run the server only and not run the webapp?