DINIT-CHECK(8)
π dinit-check(8) β Dinit - service management system π
hey bestie, welcome to dinit-check(8) from the Dinit - service management system manual. this utility is your pre-flight vibe check for Dinit service configs, and it's here to catch problems before they cause a service to fail to load during system operation. iconic behavior, honestly.
πΈ NAME πΈ
dinit-check β check service configuration
π¦ SYNOPSIS π¦
dinit-check [-d|--services-dir dir] [service-name...]
β¨ DESCRIPTION β¨
The dinit-check 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 dinit-check include:
- Syntax errors β the grammar police have entered the chat π¨
- Invalid parameter values β not the vibe, bestie
- Service dependency cycles β the friend group is going in circles π
Unless altered by options specified on the command line, this utility uses the same search paths (for service description files) as dinit.
π OPTIONS π
-d dir,--services-dir dirβ specifies dir as the directory containing service description files (can be given multiple times to specify multiple service directories). Default directories are not searched for services when this option is provided. Seedinit(8)for defaults.-n,--onlineβ operate in "online" mode; contact a running instance ofdinitto obtain the service directories and environment variables (used for substitution in service setting values). The--services-dir(-d) and--env-file(-e) options will be ignored.-s,--systemβ use defaults for a system instance. This affects default service directories, environment file, and (when in online mode) control socket path. It is the default when run as the root user.-u,--userβ use defaults for a user instance. This affects default service directories, environment file, and (when in online mode) control socket path. It is the default when not run as the root user.--socket-path socket-path,-p socket-pathβ specify the path to the socket used for communicating with the service manager daemon. When not specified, the value from theDINIT_SOCKET_PATHenvironment variable is used, with the default path (as documented fordinit(8)) used if the variable is unset. This option is ignored unless--online(-n) is also specified.-e file,--env-file fileβ read supplementary environment from file, which should be in the format used bydinit(8). If not specified, the default is as fordinit(8). This setting is not used when--online(-n) is specified.--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 toboot(which requires that a suitable service description for thebootservice exists).
π NOTES π
For service properties that are subject to environment variable substitution, including socket-listen, logfile, env-file, working-dir and pid-file, the substitution may have a different result when performed by dinit-check than when performed by dinit if the two processes have a different environment.
For this reasondinit-checkwill issue a warning whenever substitution is used, unless run in "online" mode (--onlineor-n), in which case environment variable values are obtained from the running instance ofdinit. bestie, that warning is not being dramatic β it's being accurate π
π₯ SEE ALSO π₯
π AUTHOR π
Dinit, and this manual, were written by Davin McCall.
and that's the whole page, bestie β no notes missed, no options ghosted, no cap π«Ά this iconic manual is from Dinit 0.21.0, dated March 2026 β¨π
π¦ where this page comes from
- alpine 3.24: dinit-doc 0.21.0-r0 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms