This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sccl:configuration:resource_description [2015-07-07 15:05] uls [TST] |
sccl:configuration:resource_description [2015-07-07 15:39] (current) uls [Resources] |
||
---|---|---|---|
Line 9: | Line 9: | ||
You can e.g. group resources as one resource and use that in several package resources. | You can e.g. group resources as one resource and use that in several package resources. | ||
- | :TODO: final translations | + | The resource definition is processed from left to right when the resource is started, |
+ | from right to left when the resource is stopped. | ||
=== CPKG === | === CPKG === | ||
Line 472: | Line 473: | ||
|- | |- | ||
! action when "start" | ! action when "start" | ||
- | | Starts up the test script <path> (see TST for description), restarts the resource on this node, if <path> returns an error. | + | | Starts up the test script <path> (see TST for description), restarts the resource on **this** node, if <path> returns an error. |
<num> defines the maximum number of restarts of the resource. | <num> defines the maximum number of restarts of the resource. | ||
|- | |- | ||
Line 494: | Line 495: | ||
The script <path> is executed every <secs> seconds. | The script <path> is executed every <secs> seconds. | ||
+ | |||
+ | The default for <path> is: <package>_test | ||
{| | {| | ||
Line 500: | Line 503: | ||
|- | |- | ||
! action when "start" | ! action when "start" | ||
- | | The test script is started on the next node. | + | | The test script <path> is started on the next node. |
|- | |- | ||
! action when "stop" | ! action when "stop" | ||
- | | The test script is stopped. | + | | The test script <path> is stopped. |
|- | |- | ||
! example | ! example |