nginx / unit-docs

NGINX Unit's official website and documentation
https://unit.nginx.org
Creative Commons Attribution 4.0 International
49 stars 97 forks source link

Add info about the new --control-* options #112

Closed ac000 closed 2 months ago

ac000 commented 2 months ago

This documents the new (in 1.32.0) --control-mode, --control-user & --control-group options to untid(8).

netlify[bot] commented 2 months ago

Deploy Preview for nginx-unit ready!

Built without sensitive environment variables

Name Link
Latest commit ab6c9a53223abf2fb3de7b7c92aa4287a41a4690
Latest deploy log https://app.netlify.com/sites/nginx-unit/deploys/65ddea84bf7eee0007aec569
Deploy Preview https://deploy-preview-112--nginx-unit.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

ac000 commented 2 months ago

Don't hyphenate UNIX-domain

$ git range-diff db855ae...d9cd0ec
1:  db855ae ! 1:  d9cd0ec howto/source.rst: Add info about the new --control-* options
    @@ source/howto/source.rst: counterparts, see :ref:`here <source-config-src>`.
                # unitd --control :nxt_hint:`unix:/path/to/control.unit.sock <Note the unix: prefix>`

     +   * - **--control-mode**
    -+     - Sets the permission of the UNIX-domain control socket. Default: 0600
    ++     - Sets the permission of the UNIX domain control socket. Default: 0600
     +
     +   * - **--control-user**
    -+     - Sets the owner of the UNIX-domain control socket.
    ++     - Sets the owner of the UNIX domain control socket.
     +
     +   * - **--control-group**
    -+     - Sets the group of the UNIX-domain control socket.
    ++     - Sets the group of the UNIX domain control socket.
     +
         * - **--group name**, **--user name**
           - Group name and user name used to run Unit's non-privileged
ac000 commented 2 months ago

Rebased onto release-1.32

$ git range-diff d9cd0ec...036920b
 1:  fd3afb4 <  -:  ------- WebAssembly is an 'internal' language module
 2:  d4605e6 <  -:  ------- fix issue-105
 -:  ------- >  1:  c241ce7 modify version and date in config
 -:  ------- >  2:  6261d93 add news document
 -:  ------- >  3:  adb97c4 Add changes to configuration doc
 -:  ------- >  4:  f619288 update building from source
 -:  ------- >  5:  14bda11 update app languages and optional
 -:  ------- >  6:  e41ac7c moving content to the right sections
 -:  ------- >  7:  34758c3 add configuration wasm section
 -:  ------- >  8:  9f642ac update configuration steps
 -:  ------- >  9:  230b213 fix trailing whitespace
 -:  ------- > 10:  0b02b5b add samples changes
 -:  ------- > 11:  91a163b add conditional logging to config
 -:  ------- > 12:  c66f677 make access log sub-section
 -:  ------- > 13:  c73b16a add variable
 -:  ------- > 14:  4082e9c add hyperlink
 -:  ------- > 15:  44f5755 update  language modules
 -:  ------- > 16:  d5eaa3e add if to NJS places
 -:  ------- > 17:  f6c9030 Apply suggestions from code review
 -:  ------- > 18:  1f671fd Apply suggestions from code review
 -:  ------- > 19:  1b82374 Apply suggestions from code review
 -:  ------- > 20:  7957520 update line length
 -:  ------- > 21:  b80dfcc Apply suggestions from code review
 -:  ------- > 22:  0939a4b Apply suggestions from code review
 3:  d9cd0ec = 23:  036920b howto/source.rst: Add info about the new --control-* options
ac000 commented 2 months ago

Rebase with latest release-1.32

$ git range-diff 036920b...ab6c9a5
 -:  ------- >  1:  ebae145 Apply suggestions from code review
 -:  ------- >  2:  c5bc960 Update source/howto/source.rst
 -:  ------- >  3:  d9e2472 Update source/howto/samples.rst
 -:  ------- >  4:  2b090b2 Update source/howto/samples.rst
 -:  ------- >  5:  fd3afb4 WebAssembly is an 'internal' language module
 -:  ------- >  6:  151fb1d Update source/news/2024/unit-1.32.0-released.rst
 -:  ------- >  7:  6f7ce9c Update source/news/2024/unit-1.32.0-released.rst
 -:  ------- >  8:  f21a06b Update source/howto/source.rst
 -:  ------- >  9:  d5d75cd re-add removed section scripting
 -:  ------- > 10:  9329fe9 cherrypick  PR106
 -:  ------- > 11:  629ca81 news scripting support rewrite
 -:  ------- > 12:  9c12ff6 add CLI enhancements to news
 -:  ------- > 13:  c234e47 Update source/scripting.rst
 -:  ------- > 14:  fa86bc4 Update source/scripting.rst
 -:  ------- > 15:  001618c Update source/scripting.rst
 -:  ------- > 16:  971eb7d Update source/howto/samples.rst
 -:  ------- > 17:  0dde02d fix reference
 -:  ------- > 18:  47c4862 update deprecated warning
 -:  ------- > 19:  9199fe6 Update source/howto/source.rst
 -:  ------- > 20:  3da93db add Cache-control example
 -:  ------- > 21:  910dba3 add vars to njs objects
 -:  ------- > 22:  149e599 initial commit
 -:  ------- > 23:  2a6d490 add section in changes in behavior
 -:  ------- > 24:  c069d5c update intro
 -:  ------- > 25:  3412487 Update source/news/2024/unit-1.32.0-released.rst
 -:  ------- > 26:  65b1d1f update section order
 -:  ------- > 27:  b118b15 rephrase blog mention
 -:  ------- > 28:  ac8f544 add links in github section
 -:  ------- > 29:  dbeeb2d Apply suggestions from code review
 -:  ------- > 30:  08cb947 Update source/news/2024/unit-1.32.0-released.rst
 -:  ------- > 31:  118ca67 update tense
 -:  ------- > 32:  6c7975a Update source/news/2024/unit-1.32.0-released.rst
 -:  ------- > 33:  24c51bb remove redundant sentence
 -:  ------- > 34:  5931583 Update source/news/2024/index.rst
 -:  ------- > 35:  41c6f34 remove next level
 -:  ------- > 36:  b55ea23 Update source/news/2024/unit-1.32.0-released.rst
 -:  ------- > 37:  3b0563c Update source/news/2024/unit-1.32.0-released.rst
 -:  ------- > 38:  efd4f01 add full changelog
 -:  ------- > 39:  31d7c28 update wasm mentions, capitalization
 -:  ------- > 40:  2a6e124 Update source/howto/samples.rst
 -:  ------- > 41:  c7575ce Update source/howto/samples.rst
 1:  036920b = 42:  ab6c9a5 howto/source.rst: Add info about the new --control-* options