Hello,
you can use this:
if status != 0 then exec 'service.sh start "Symantec Antivirus"
Rtvscan.exe'
Note however that you should use full path to service.sh script as Monit
executes the program directly - not using sh.
Regards,
Martin
> On 27 Jan 2015, at 12:39, Kizito Porta Balanyà <[email protected]> wrote:
>
> Hello,
>
> How Can I scape quotes in exec?
>
> if status != 0 then exec "service.sh start "Symantec Antivirus" Rtvscan.exe"
>
>
> I want to scape "Symantec Antivirus" but monit remove the quotes.
>
>
> Thanks a lot.
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general