2
0

meson_options.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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", "soft-reboot" 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 : 'combo',
  62. choices : ['ALWAYS', 'ON_FAILURE', 'NEVER'],
  63. value : 'ALWAYS',
  64. description : 'Always/"on-failure"/never auto-restart for services by default. See BUILD_MESON for more info.'
  65. )
  66. option(
  67. 'default-start-timeout',
  68. type : 'integer',
  69. value : 60,
  70. description : 'Default start-timeout for services in seconds'
  71. )
  72. option(
  73. 'default-stop-timeout',
  74. type : 'integer',
  75. value : 10,
  76. description : 'Default stop-timeout for services in seconds'
  77. )
  78. ## Linux specific options
  79. option(
  80. 'support-cgroups',
  81. type : 'feature',
  82. value : 'auto',
  83. description : 'Enable Cgroups supprot.'
  84. )
  85. option(
  86. 'build-shutdown',
  87. type : 'feature',
  88. value : 'auto',
  89. description : 'Building shutdown/reboot/soft-reboot/halt or not.'
  90. )