rand/www-apps/healthchecks/files/healthchecks-monitor.service
Martin Sekera 4bf6278ce0 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
2021-02-18 00:38:45 +01:00

23 lines
492 B
Desktop File

[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