Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - SLM waitfor exits problem: (1 Item)
   
SLM waitfor exits problem  
Hi QNX Community,

Im trying to prepare SLM configuration for my services. From the documentation I can see that it is possible to set SLM 
component waitfor exits and expected code:

<SLM:waitfor>
<SLM:waitfor [wait="none|delay|pathname|exits|blocks"]
                 [ polltime=poll_time:timeout_time]> waitfor_data </SLM:waitfor>
wait="none|delay|pathname|exits|blocks"

exits—SLM waits for the process to exit with the specified exit code. If the exit code is different from the expected 
one, SLM restarts the process.

waitfor_data
exits — The expected exit code (default is 0).


Im trying to set something like this:
<SLM:waitfor wait="exits">2</SLM:waitfor>

so wait for script exit with expected code 2. From the documentation it says that it is possible but when I run, I got 
error:

slm: invalid component/waitfor content for 'my_service' 


Do you know how to set slm waitfor exit expected code to 2 ?