DINITCHECK(8)

NAME
dinitcheck - check service configuration

SYNOPSIS

dinitcheck [-d|--services-dir dir] [service-name...]

DESCRIPTION
The dinitcheck utility checks the service configuration for Dinit services (see dinit(8)), and reports any errors it finds. This allows for finding errors before they can cause a service to fail to load during system operation.

Errors reported by dinitcheck include:

•   Syntax errors

•   Invalid parameter values

•   Service dependency cycles

Unless altered by options specified on the command line, this utility uses the same search paths (for service description files) as dinit.

OPTIONSs

-d dir, --services-dir dir
    Specifies dir as the directory containing service definition files, can be set multiple times. Default directories are not searched for services when this option is provided. If not specified, the default is $HOME/dinit.d or, for the system service manager, each of /etc/dinit.d/fR, /usr/local/lib/dinit.d, and /lib/dinit.d (searched in that order).

--help
    Display brief help text and then exit.

service-name
    Specifies the name of a service that should be checked (along with its dependencies). If none are specified, defaults to boot (which requires that a suitable service description for the boot service exists).

SEE ALSO
dinit(8), dinit-service(5).

AUTHOR
Dinit, and this manual, were written by Davin McCall.