You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see you are very selective in defining as to which config parameters are to be modified through ENV variables.
I wonder why wouldn't you go with something like:
configs=${!<respective config file>*}
for var in $configs; do
config_name=${var#*_}
echo "${config_name} = ${!var}" >> /etc/mfs/<respecitve config file>.cfg
done
then e.g. ENV
mfschunkserver_WORKING_GROUP = mfs
would set WORKING_GROUP = mfs
in /etc/mfs/mfschunkserver.cfg
(I am aware that the capital letters have to be addressed - I am only not sure how)
The text was updated successfully, but these errors were encountered:
I see you are very selective in defining as to which config parameters are to be modified through ENV variables.
I wonder why wouldn't you go with something like:
mfschunkserver_WORKING_GROUP = mfs
would set
WORKING_GROUP = mfs
in /etc/mfs/mfschunkserver.cfg
(I am aware that the capital letters have to be addressed - I am only not sure how)
The text was updated successfully, but these errors were encountered: