update _extras; fix typo (htttp => http), and add rest of options in clientinfo.env
This commit is contained in:
parent
3967e5fdb7
commit
c3b16f3981
@ -20,3 +20,17 @@
|
|||||||
# * "<Client IP>:<Client Port>" (IPv4)
|
# * "<Client IP>:<Client Port>" (IPv4)
|
||||||
# * "[<Client IP>]:<Client Port>" (IPv6)
|
# * "[<Client IP>]:<Client Port>" (IPv6)
|
||||||
#CINFO_URI="http://127.0.0.1:1234"
|
#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
|
||||||
|
@ -9,7 +9,7 @@ Description=Return Client Request Information
|
|||||||
Type=notify
|
Type=notify
|
||||||
# These may also be "httpd", "nginx", etc.
|
# These may also be "httpd", "nginx", etc.
|
||||||
User=http
|
User=http
|
||||||
Group=htttp
|
Group=http
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
# Not required, but you may create this file and specify the associated commandline argument env vars.
|
# 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.
|
# See clientinfo.env for an example.
|
||||||
EnvironmentFile=-/etc/default/clientinfo
|
EnvironmentFile=-/etc/default/clientinfo
|
||||||
ExecStart=/usr/local/bin/clientinfo
|
ExecStart=/usr/local/bin/clientinfo
|
||||||
|
RuntimeDirectory=clientinfo
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user