# Functions
BinDirPath returns the path to the REX-Ray bin directory.
BinFilePath returns the path to the REX-Ray executable.
EtcDirPath returns the path to the REX-Ray etc directory.
EtcFilePath returns the path to a file inside the REX-Ray etc directory with the provided file name.
GetPrefix gets the root path to the REX-Ray data.
Install executes the system install command.
InstallChownRoot executes the system install command and chowns the target to the root user and group.
InstallDirChownRoot executes the system install command with a -d flag and chowns the target to the root user and group.
IsPrefixed returns a flag indicating whether or not a prefix value is set.
LibDirPath returns the path to the REX-Ray bin directory.
LibFilePath returns the path to a file inside the REX-Ray lib directory with the provided file name.
LogDirPath returns the path to the REX-Ray log directory.
LogFile returns a writer to a file inside the REX-Ray log directory with the provided file name.
LogFilePath returns the path to a file inside the REX-Ray log directory with the provided file name.
PidFilePath returns the path to the REX-Ray PID file.
Prefix sets the root path to the REX-Ray data.
PrintVersion prints the current version information to the provided writer.
ReadPidFile reads the REX-Ray PID from the PID file.
RunDirPath returns the path to the REX-Ray run directory.
StdOutAndLogFile returns a mutltiplexed writer for the current process's stdout descriptor and a REX-Ray log file with the provided name.
WritePidFile writes the current process ID to the REX-Ray PID file.
# Constants
EnvFileName is the name of the environment file used by the SystemD service.
InitFilePath is the path to the SystemV Service's init script.
UnitFilePath is the path to the SystemD service's unit file.