Sending this PR to address the issue with RHEL CentOS and any other distro that does not have glibc-2.18 or higher installed. I have altered the config and service file to accommodate for users using an alternative glibc root for factorio
Changed items include
ADDED ALT_GLIBC to config and service file, enable with a 1 to activate alternative glibc root
ADDED ALT_GLIBC_DIR to config and service file, the path to the alternative glibc root
ADDED ALT_GLIBC_VER to config and service file, the numerical version.subversion of the alt glibc root
ADDED EXE_ARGS_GLIBC to service file to append appropriate command to binary, used internally
ADDED BINARYB for display purposes since binary is now dynamic with glibc, to prevent filling up the display with things like this
"/opt/glibc-2.18/lib/ld-${ALT_GLIBC_VER}.so --library-path /opt/glibc-2.18/lib /opt/factorio/bin/x64/factorio"
and instead display this for simplicity
"/opt/factorio/bin/x64/factorio"
REMOVED ${RCON} as it was just kinda sitting there useless and doing nothing, couldn't find where it was defined
Sending this PR to address the issue with RHEL CentOS and any other distro that does not have glibc-2.18 or higher installed. I have altered the config and service file to accommodate for users using an alternative glibc root for factorio
Changed items include ADDED ALT_GLIBC to config and service file, enable with a 1 to activate alternative glibc root ADDED ALT_GLIBC_DIR to config and service file, the path to the alternative glibc root ADDED ALT_GLIBC_VER to config and service file, the numerical version.subversion of the alt glibc root ADDED EXE_ARGS_GLIBC to service file to append appropriate command to binary, used internally ADDED BINARYB for display purposes since binary is now dynamic with glibc, to prevent filling up the display with things like this "/opt/glibc-2.18/lib/ld-${ALT_GLIBC_VER}.so --library-path /opt/glibc-2.18/lib /opt/factorio/bin/x64/factorio" and instead display this for simplicity "/opt/factorio/bin/x64/factorio" REMOVED ${RCON} as it was just kinda sitting there useless and doing nothing, couldn't find where it was defined