66

Software

obarun.org

restart

This command restarts one or more services.

Interface

restart [ -h ] [ -P ] service...

This command brings down and brings up again a service. This command expects to find an already running service.

The 66 -t command option has no effect. 66 will detect automatically the associated tree of the service along its required-by dependencies.

In case of module service type, all services within the module are restarted.

Multiple services can be restarted by separating their names with a space.

This command handles interdependencies. Its two halves do not go the same way. Bringing the selection down is propagated to the services that depend on it, bringing it back up is propagated to the services it depends on.

Options

Usage examples

Restarts the foo service

66 restart foo

Restarts the foo service without handling its required-by dependencies

66 restart -P foo