dinitcheck.8.m4 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. changequote(`@@@',`$$$')dnl
  2. @@@.TH DINITCHECK "8" "$$$MONTH YEAR@@@" "Dinit $$$VERSION@@@" "Dinit \- service management system"
  3. .SH NAME
  4. dinitcheck \- check service configuration
  5. .\"
  6. .SH SYNOPSIS
  7. .\"
  8. .HP \w'\ 'u
  9. .B dinitcheck
  10. [\fB\-d\fR|\fB\-\-services\-dir\fR \fIdir\fR]
  11. [\fIservice-name\fR...]
  12. .\"
  13. .SH DESCRIPTION
  14. .\"
  15. The \fBdinitcheck\fR utility checks the service configuration for
  16. \fBDinit\fR services (see \fBdinit\fR(8)), and reports any errors it finds.
  17. This allows for finding errors before they can cause a service to fail to
  18. load during system operation.
  19. .LP
  20. Errors reported by \fBdinitcheck\fR include:
  21. .IP \(bu
  22. Syntax errors
  23. .IP \(bu
  24. Invalid parameter values
  25. .IP \(bu
  26. Service dependency cycles
  27. .LP
  28. Unless altered by options specified on the command line, this utility uses the
  29. same search paths (for service description files) as \fBdinit\fR.
  30. .\"
  31. .SH OPTIONSs
  32. .TP
  33. \fB\-d\fR \fIdir\fP, \fB\-\-services\-dir\fR \fIdir\fP
  34. Specifies \fIdir\fP as the directory containing service definition files, can
  35. be set multiple times. Default directories are not searched for services when
  36. this option is provided.
  37. If not specified, the default is \fI$HOME/dinit.d\fR or, for the
  38. system service manager, each of \fI/etc/dinit.d/fR, \fI/usr/local/lib/dinit.d\fR,
  39. and \fI/lib/dinit.d\fR (searched in that order).
  40. .TP
  41. \fB\-\-help\fR
  42. Display brief help text and then exit.
  43. .TP
  44. \fIservice-name\fR
  45. Specifies the name of a service that should be checked (along with its
  46. dependencies). If none are specified, defaults to \fIboot\fR (which requires
  47. that a suitable service description for the \fIboot\fR service exists).
  48. .\"
  49. .SH SEE ALSO
  50. .\"
  51. \fBdinit\fR(8), \fBdinit-service\fR(5).
  52. .\"
  53. .SH AUTHOR
  54. Dinit, and this manual, were written by Davin McCall.
  55. $$$dnl