Skip to content
Snippets Groups Projects
Commit 87bd69c6 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

bug and typo fix at dic

parent d7d3803a
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ free [ -h ] [ -P ] service...
This command expects to find an already supervised service. If the state of the *service* is already up, the *free* command stop it first. Subsequently, service is unsupervised from the [scandir](66-scandir.html), freeing the memory used by the service.
Multiple *services* can be started by separating their names with a space.
Multiple *services* can be freed by separating their names with a space.
In case of `module` *service* type, all *services* declared within the `module` will also be unsupervised. The **-P** has no effect on the *services* within the `module` and only affects the module's dependencies.
......
......@@ -844,7 +844,7 @@ You can use the `@I` string as key field. It will be replaced by the `module` na
valid value :
* Reacts exactly as @directories field but on filename instead of directories name.
* Reacts exactly as @directories field but on files name instead of directories name.
---
......
......@@ -49,3 +49,18 @@ Reloads the `foo-log` service
66 reload -P foo-log
```
## Modules services
Services within a `module` can also be managed independently. If you need to reload a particular service inside the `module`, specify the name of the `module` service followed by a colon `:` and the name of the service within the `module`
```
66 reload foo@foobar:foobaz
```
where `foo@foobar` is the name of the `module` service and `foobaz` the name of the service inside the `module` service.
You also can use the `-P` option to avoid handling the dependencies of the service inside the `module` service
```
66 reload -P foo@foobar:foobaz
```
......@@ -31,6 +31,8 @@ This command handles [interdependencies](66.html#handling-dependencies).
- **-h** : prints this help.
- **-P**: Do not handle service dependencies. In such cases, the *remove* command will not attempt to remove the services that are dependent on the service.
## Usage example
Removes the service `foo`
......
......@@ -47,7 +47,7 @@ This program expects to find a regular file or a directory in *src* containing o
*src* is a text file or a directory containing lines of pairs with the syntax being: `key = value`
Whitespace is permitted before and after *key*, and before or after *value*.
Empty lines, or lines containing only whitespace, are ignored. Lines beginning with `#` or `;` (possibly after some whitespace) are ignored (and typically used for comments). Leading and trailing whitespace is stripped from values; but a *value* can be double-quoted, which allows for inclusion of leading and trailing whitespace.
Empty lines, or lines containing only whitespace, are ignored. Lines beginning with `#` (possibly after some whitespace) are ignored (and typically used for comments). Leading and trailing whitespace is stripped from values; but a *value* can be double-quoted, which allows for inclusion of leading and trailing whitespace.
Escaping double-quoted can be done with backslash `\`. For instance,
......@@ -85,9 +85,17 @@ The order of `key=value` pair declaration **do not** matter
socket_dir=dname
```
A variable calling itself is **only** allowed if the `key` name can be found at the environment of the current process. If the key of the `key=value` cannot not be found it left the pair as it. For intance,
```
PATH=/usr/local/bin:${PATH}
```
will only works if `PATH` is already define at the current environment. If not the result will literally be `PATH=/usr/local/bin:${PATH}`.
### Limits
*src* can not exceed more than `100` files. Each file can not contain more than `8191` bytes or more than `50` `key=value` pairs.
*src* can not exceed more than `20` files. Each file can not contain more than `8191` bytes or more than `50` `key=value` pairs.
## Usage example
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment