Add www-apps/healthchecks and its dependencies:

www-apps/healthchecks
dev-python/statsd
dev-python/requests-oauthlib
dev-python/oauthlib
dev-python/fido2
dev-python/cron-descriptor
dev-python/apprise
This commit is contained in:
Martin Sekera 2021-02-18 00:38:15 +01:00
parent 3ec318fe9c
commit 4bf6278ce0
12 changed files with 371 additions and 0 deletions

View file

@ -0,0 +1,23 @@
[Unit]
Description=Healthchecks.io alerting process
Requires=network-online.target
After=network-online.target healthchecks-server.service
[Service]
User=healthchecks
Group=healthchecks
WorkingDirectory=/usr/share/healthchecks
PrivateDevices=true
ProtectHome=true
ProtectSystem=full
PrivateDevices=true
ProtectKernelTunables=true
ProtectControlGroups=true
ExecStart=/usr/bin/python3 -u ./manage.py sendalerts --no-threads
Restart=always
RestartSec=20
[Install]
WantedBy=multi-user.target