Feature request: Set ownership & permissions of unixsocket in monitrc

Issue #175 resolved
Matt P
created an issue

Allow for file ownership and permissions to be set on the unixsocket file from monitrc.

For example, if one is using an nginx reverse proxy as a front-end to monit, and nginx is run under a non-root user, then it won't be able to write to the unixsocket due to the root:root ownership of the unixsocket. (A workaround is to use localhost as the monit server, but this loses the benefit of using a unixsocket file (e.g. no TCP/IP overhead).)

Comments (6)

  1. Log in to comment