I need to temporarily unmonitor a custom daemon when I deploy a new version. I tried
monit unmonitor <name>, but it says I don't own monitrc since my deploy script does not run as root or have sudo priveliges for security reasons. Is there an easy way to get around this, to tell monit to let a non-root user start/stop/unmonitor a specific process?
(I could always use curl to accoplish this via the http interface, but just looking for a less hacky way)