66
www.obarun.org

66-enable

This command enable a service(s) into a tree.

Interface

	66-enable [ -h help ] [ -v verbosity ] [ -l live ] [ -t tree ] [ -f force ] [ -d directory ] [ -I instance ] [ -S start ] service(s)"
	

66-enable will handle service on a specific tree. This tool will expect to find a service file by default at /etc/66/service. The default can also be changed at compile-time by passing the --with-service-path=DIR option to ./configure. It will run a parsing process and write the result at the directory of the tree—see 66-tree for futher information. The service will be available on the tree for the next boot time depending of the state of the tree or can be started directly—see -S options below.

service as arguments can be multiple.

Options

Directory option

This option should be used on specific case like a set of bundle,longrun,oneshot service type which several of them depends from each others. This doesn't mean that the directory can only contain bundle,longrun,oneshot, it can be a mix of all service type. The perfect example is the set of service for the boot process. To achieve this specific tasks a large number of oneshot service is used but also contain "classic" service.

It can be difficult to know the first service to start on a dependencies service graph. To avoids problem about the resolution of the services dependencies graph, it's neccessary to pass the first service to start as arguments. In general, the root node of a service dependencies graph is a bundle.

Also this behaviour can be change on future release of 66-enable tool.