mirror of
https://github.com/craigerl/aprsd.git
synced 2024-12-20 00:26:04 -05:00
Hemna
c870207a96
This patch adds the healthcheck app that uses the flask stats url to fetch the internal stats of a running aprsd server. If the server is up the stats will return and be checked for 'healthy' status. IF the url fails to return, healthcheck will exit with -1. You can use this script to restart aprsd if healthcheck exits with -1 status. There is a check against the email thread. The email thread updates a deadman's timer every 5 seconds. If that time gets older than 5 minutes, then healthcheck will say that's a failure and exit with -1. You can call healthcheck and restart aprsd if it fails (exit -1)
52 lines
1.2 KiB
INI
52 lines
1.2 KiB
INI
[metadata]
|
|
name = aprsd
|
|
long_description = file: README.rst
|
|
long_description_content_type = text/x-rst
|
|
url = http://aprsd.readthedocs.org
|
|
author = Craig Lamparter
|
|
author_email = something@somewhere.com
|
|
license = Apache
|
|
license_file = LICENSE
|
|
classifier =
|
|
License :: OSI Approved :: Apache Software License
|
|
Topic :: Communications :: Ham Radio
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python :: 3 :: Only
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.6
|
|
Programming Language :: Python :: 3.7
|
|
Programming Language :: Python :: 3.8
|
|
Programming Language :: Python :: 3.9
|
|
description_file =
|
|
README.rst
|
|
project_urls =
|
|
Source=https://github.com/craigerl/aprsd
|
|
Tracker=https://github.com/craigerl/aprsd/issues
|
|
summary = Amateur radio APRS daemon which listens for messages and responds
|
|
|
|
[global]
|
|
setup-hooks =
|
|
pbr.hooks.setup_hook
|
|
|
|
[files]
|
|
packages =
|
|
aprsd
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
aprsd = aprsd.main:main
|
|
aprsd-dev = aprsd.dev:main
|
|
aprsd-healthcheck = aprsd.healthcheck:main
|
|
fake_aprs = aprsd.fake_aprs:main
|
|
|
|
[build_sphinx]
|
|
source-dir = docs
|
|
build-dir = docs/_build
|
|
all_files = 1
|
|
|
|
[upload_sphinx]
|
|
upload-dir = docs/_build
|
|
|
|
[bdist_wheel]
|
|
universal = 1
|