Hello, all!

I need some advice and I'm hoping someone can assist.

I have a process that runs on my server that I would like to have monitored by 
monit. The only thing that doesn't work is the following lines in the config 
file:

   check process stream matching "spa.liq"
   if does not exist then exec "liquidsoap /home/me/scripts/spa.liq &" as uid 
jay and gid jay

It is able to find the "spa.liq" process because I can see it from the monit 
web page. However, if I kill the process to test that it starts up it doesn't 
work. The log files show that it executes the command but it never runs so it 
just keeps trying.

In addition, this process cannot run as root so I added the "as uid jay and gid 
jay" so that it runs under my username.

There must be something wrong with this configuration but I can't figure out 
what it is.

Thanks,

Jay

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to