meson_options.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. ## meson_options.txt for dinit
  2. ## You can set dinit's options in here:
  3. ## Please see BUILD_MESON for more information.
  4. ## General options
  5. option(
  6. 'shutdown-prefix',
  7. type : 'string',
  8. value : '',
  9. description : 'Name prefix for "shutdown", "halt" and "reboot" commands (if they are built).'
  10. )
  11. option(
  12. 'dinit-control-socket-path',
  13. type : 'string',
  14. value : '/run/dinitctl',
  15. description : 'Default full path to the control socket, for when Dinit runs as system service manager.'
  16. )
  17. option(
  18. 'unit-tests',
  19. type : 'boolean',
  20. value : false,
  21. description : 'Building Unit tests. by default its disabled.'
  22. )
  23. option(
  24. 'igr-tests',
  25. type : 'boolean',
  26. value : false,
  27. description : 'Building Integration tests. by default its disabled.'
  28. )
  29. option(
  30. 'fuzzer',
  31. type : 'boolean',
  32. value : false,
  33. description : 'Building fuzz target'
  34. )
  35. option(
  36. 'use-utmpx',
  37. type : 'feature',
  38. value : 'auto',
  39. description : 'Whether to build support for manipulating the utmp/utmpx database via the related POSIX functions.'
  40. )
  41. option(
  42. 'use-initgroups',
  43. type : 'boolean',
  44. value : true,
  45. description : 'Whether to use initgroups to initialize supplementary groups for run-as services.'
  46. )
  47. option(
  48. 'dinit-sbindir',
  49. type : 'string',
  50. value : '/sbin',
  51. description : 'Default full path to the dinit executables. For some reasons dinit dont follow default sbindir. see BUILD_MESON for more info.'
  52. )
  53. option(
  54. 'man-pages',
  55. type : 'boolean',
  56. value : true,
  57. description : 'Building & installing man-pages.'
  58. )
  59. option(
  60. 'default-auto-restart',
  61. type : 'boolean',
  62. value : true,
  63. description : 'Enable/disable auto-restart for services by default.'
  64. )
  65. option(
  66. 'default-start-timeout',
  67. type : 'integer',
  68. value : 60,
  69. description : 'Default start-timeout for services in seconds'
  70. )
  71. option(
  72. 'default-stop-timeout',
  73. type : 'integer',
  74. value : 10,
  75. description : 'Default stop-timeout for services in seconds'
  76. )
  77. ## Linux specific options
  78. option(
  79. 'support-cgroups',
  80. type : 'feature',
  81. value : 'auto',
  82. description : 'Enable Cgroups supprot.'
  83. )
  84. option(
  85. 'build-shutdown',
  86. type : 'feature',
  87. value : 'auto',
  88. description : 'Building shutdown/reboot/halt or not.'
  89. )