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

add missing free command documentation

parent efdb1e2e
No related branches found
No related tags found
No related merge requests found
Pipeline #18945 passed
title: The 66 Suite: free
author: Eric Vidal <eric@obarun.org>
[66](index.html)
[Software](https://web.obarun.org/software)
[obarun.org](https://web.obarun.org)
# free
This command bring down *services* and remove it from the scandir.
## Interface
```
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](scandir.html), freeing the memory used by the service.
Multiple *services* can be started 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.
This command handles [interdependencies](66.html#handling-dependencies).
## Options
- **-h**: prints this help.
- **-P**: Do not handle service dependencies. In such cases, the *free* command will not attempt to stop the services that are dependent on the service, regardless of their current state.
## Usage examples
Free a service by handling its dependencies.
```
66 free foo
```
Free the service without handling any dependencies
```
66 free -P foo
```
\ No newline at end of file
#!/bin/sh
html='66-echo 66-hpr 66-nuke 66-shutdown 66-shutdownd 66-umountall 66 boot configure deeper disable enable execl-envfile frontend halt index init instantiated-service module-creation module-usage parse poweroff reboot reconfigure reload remove resolve restart rosetta scandir service-configuration-file signal start state status stop tree upgrade version'
html='66-echo 66-hpr 66-nuke 66-shutdown 66-shutdownd 66-umountall 66 boot configure deeper disable enable execl-envfile free frontend halt index init instantiated-service module-creation module-usage parse poweroff reboot reconfigure reload remove resolve restart rosetta scandir service-configuration-file signal start state status stop tree upgrade version'
version=${1}
......
#!/bin/sh
man1='66 configure disable enable execl-envfile halt init parse poweroff reboot reconfigure reload remove resolve restart rosetta scandir signal start state status stop tree upgrade version'
man1='66 configure disable enable free execl-envfile halt init parse poweroff reboot reconfigure reload remove resolve restart rosetta scandir signal start state status stop tree upgrade version'
man8='boot 66-hpr 66-shutdown 66-shutdownd 66-umountall'
......
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