| Server IP : 50.6.195.38 / Your IP : 216.73.216.141 Web Server : Apache System : Linux server.chemdry.ca 5.14.0-427.31.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 15 14:47:52 EDT 2024 x86_64 User : selech ( 1068) PHP Version : 8.2.29 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /bin/ |
Upload File : |
#!/usr/bin/python3
#
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Copyright (C) 2011-2023 Red Hat, Inc.
#
# Author: Tony Asleson <tasleson@redhat.com>
import sys
import syslog
import traceback
try:
from lsm import PluginRunner
from sim_plugin import SimPlugin
if __name__ == '__main__':
PluginRunner(SimPlugin, sys.argv).run()
except Exception:
# This should be quite rare, but when it does happen this is pretty
# key in understanding what happened, especially when it happens when
# running from the daemon.
msg = str(traceback.format_exc())
syslog.syslog(syslog.LOG_ERR, msg)
sys.stderr.write(msg)
sys.exit(1)