Dnsmasq: pid-file name/path?

Why is the pidfile under /tmp/run/dnsmasq/dnsmasq.cfg01411c.pid?

1 Like

Looks correct according to init script:

Each instance should use a separate PID since it supports multiple instances.

1 Like

Thanks. I need to set the pid file in another config file. :S And if it is generated more or less in a dynamic changing way, I am not sure how to do it.

You can set the pidfile in the olsrd config, so it can trigger a re-read of hostnames:

Any idea how I could insert the path?

uci rename dhcp.@dnsmasq[0]="dnsmasq"
uci commit dhcp
/etc/init.d/dnsmasq restart
1 Like

wow thanks!

1 Like
1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.