Just installed the snap and touched the dnsmasq.conf file.
Now I get constantly this error:
May 29 15:30:49 nextcloud systemd[1]: Started Service for snap application dnsmasqd.dnsmasqd.
May 29 15:30:49 nextcloud snap[6778]: dnsmasq: failed to open pidfile /var/run/dnsmasq.pid: Permission denied
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Unit entered failed state.
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Failed with result 'exit-code'.
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Service hold-off time over, scheduling restart.
May 29 15:30:49 nextcloud systemd[1]: Stopped Service for snap application dnsmasqd.dnsmasqd.
May 29 15:30:49 nextcloud systemd[1]: Started Service for snap application dnsmasqd.dnsmasqd.
May 29 15:30:49 nextcloud snap[6793]: dnsmasq: failed to open pidfile /var/run/dnsmasq.pid: Permission denied
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Unit entered failed state.
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Failed with result 'exit-code'.
May 29 15:30:50 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Service hold-off time over, scheduling restart.
May 29 15:30:50 nextcloud systemd[1]: Stopped Service for snap application dnsmasqd.dnsmasqd.
May 29 15:30:50 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Start request repeated too quickly.
May 29 15:30:50 nextcloud systemd[1]: Failed to start Service for snap application dnsmasqd.dnsmasqd.
Just installed the snap and touched the dnsmasq.conf file.
Now I get constantly this error: