You can manually run it as a non root user.
Answer:
wrapper.app.account=myuser
wrapper.app.password=password_only_if_user_has_login_password
It is not working in Centos 7.1
That being said, we highly recommend you do not run Traccar as root user.
You can achive this by adding a systemd Drop-In to the traccar.service. For that, follow these steps:
mkdir /etc/systemd/system/traccar.service.d/
touch /etc/systemd/system/traccar.service.d/run-as-user.conf
[Service]
User=traccar
Group=traccar
Ok, you are right. But my post is right for older version of traccar server < 4.0.
What about new version 4.5 Linux?
How configure it to run Traccar as non root user?
Hallo,
I am using CentOS 7 for running traccar server. How to run it under non root user? Missed I something in config file or It need to create new init startup file? Can you somebody share it?
Thanks