PerlSvc prevent stop

Posted by dfmatt on 2009-07-27 08:15
Forums: PDK Support | OS: Windows

I am wanting to create a Windows service using PerlSvc which has the stop option disabled (similarly to the way many AV products set their services).

I found the following article from MSDN (http://msdn.microsoft.com/en-us/library/9k985bc9(VS.80).aspx) which describes setting "CanStop" to false for a VB service to stop it being stopped.

Is there something similar I can do with PerlSvc. I tried sending it the option 'CanStop' but just got the message "Unknown service parameter 'CanStop'".

Any ideas?

Thanks. Matt