19 lines
334 B
Python
19 lines
334 B
Python
#!/usr/bin/python
|
|
|
|
"""
|
|
Copyright (c) 2014 Wind River Systems, Inc.
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
"""
|
|
|
|
import sys
|
|
|
|
try:
|
|
from patch_alarm import patch_alarm_manager
|
|
except BaseException as e:
|
|
print("Error importing patch_alarm_manager: %s" % str(e), file=sys.stderr)
|
|
sys.exit(1)
|
|
|
|
patch_alarm_manager.start_polling()
|