update _extras; fix typo (htttp => http), and add rest of options in clientinfo.env

This commit is contained in:
brent saner 2024-12-12 04:21:23 -05:00
parent 3967e5fdb7
commit c3b16f3981
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
2 changed files with 16 additions and 1 deletions

View File

@ -20,3 +20,17 @@
# * "<Client IP>:<Client Port>" (IPv4)
# * "[<Client IP>]:<Client Port>" (IPv6)
#CINFO_URI="http://127.0.0.1:1234"

# The permissions mode for the socket file, if using UDS.
#CINFO_FMODE=0o0600

# The permissiosn mode for the socket file directory, if using UDS.
#CINFO_DMODE=0o0700

# The GID or group name of the group to chown the socket to.
# Uses the runtime user UID if not specified.
#CINFO_FGRP=http

# The GID or group name of the group to chown the socket directory to.
# Uses the primary group of the runtime user if not specified.
#CINFO_DGRP=http

View File

@ -9,7 +9,7 @@ Description=Return Client Request Information
Type=notify
# These may also be "httpd", "nginx", etc.
User=http
Group=htttp
Group=http
Restart=on-failure
RestartSec=10
# Not required, but you may create this file and specify the associated commandline argument env vars.
@ -17,6 +17,7 @@ RestartSec=10
# See clientinfo.env for an example.
EnvironmentFile=-/etc/default/clientinfo
ExecStart=/usr/local/bin/clientinfo
RuntimeDirectory=clientinfo

[Install]
WantedBy=multi-user.target