Skip to content

configurable parameters for tftp-proxy systemd service unit#1

Open
jmozd wants to merge 1 commit intoopenfibernet:masterfrom
jmozd:read_parameters_from_sysconfig
Open

configurable parameters for tftp-proxy systemd service unit#1
jmozd wants to merge 1 commit intoopenfibernet:masterfrom
jmozd:read_parameters_from_sysconfig

Conversation

@jmozd
Copy link

@jmozd jmozd commented Mar 6, 2021

The tftp-proxy systemd service unit should support configurable daemon parameters.

Therefore, this PR defines the variables TFTP_PROXY_UPSTREAM_URL and TFTP_PROXY_OPTIONS
with a default of http://127.0.0.1/tftpboot for the upstream URL and "" (empty) for
further options. Individual parameters are read from /etc/sysconfig/tftp-proxy and
/etc/default/tftp-proxy, if available, with the latter having higher precedence.

…n parameters.

Therefore, this PR defines the variables TFTP_PROXY_UPSTREAM_URL and TFTP_PROXY_OPTIONS
with a default of http://127.0.0.1/tftpboot for the upstream URL and "" (empty) for
further options.  Individual parameters are read from /etc/sysconfig/tftp-proxy and
/etc/default/tftp-proxy, if available, with the latter having higher precedence.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants