HEX
Server: Apache
System: Linux ecres233.servconfig.com 4.18.0-553.94.1.lve.el8.x86_64 #1 SMP Thu Jan 22 12:37:22 UTC 2026 x86_64
User: gonnelllaw (9952)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //opt/support/lib/server.py
from pathlib import Path

try:
    ROLE = Path('/etc/server.role').read_text(encoding='ascii').rstrip()
except FileNotFoundError:
    ROLE = ''

if ROLE == 'shared:hub':
    MAIN_RESELLER = 'hubhost'
elif ROLE.startswith('shared:'):
    MAIN_RESELLER = 'inmotion'
else:  # not a salt minion
    MAIN_RESELLER = 'root'  # v/ded