This command reloads one or more services.
reload [ -h ] [ -P ] service...
This command send a SIGHUP
signal to service. Many daemon reacts of SIGHUP
signal to re-read its configuration file that has been changed. This command expects to find an already running service.
The 66 -t
command option have 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 reloaded.
Multiple services can be reloaded by separating their names with a space.
This command handles interdependencies.
Note: If you want to reload a logger, use the -P
option.
-h: prints this help.
-P: Do not handle service dependencies. In such cases, the reload command will not attempt to reload the services that are dependent on the service, regardless of their current state.
Reloads the foo
service
66 reload foo
Reloads the foo-log
service
66 reload -P foo-log
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