Page 1 of 1

log file and pid file cannot be written to

Posted: Saturday 28 February 2026 20:57
by Doler
Using beta 17290 nor a pid file nor a log file can be written to in 'default' locations. With 'default' I mean /var/run for the pid file and /var/log for the logfile. Defining those paths in ExecStart like:

Code: Select all

ExecStart=/home/pi/domoticz/domoticz -www 8080 -sslwww 443 -pidfile /var/run/domoticz.pid -log /var/log/domoticz.log -loglevel normal,status,error
doesn't work due to insufficient rights. Changing the paths to /home/pi/.. make things work.
Please advice.