diff options
Diffstat (limited to 'www/gatus/pkg')
| -rw-r--r-- | www/gatus/pkg/DESCR | 7 | ||||
| -rw-r--r-- | www/gatus/pkg/PLIST | 13 | ||||
| -rw-r--r-- | www/gatus/pkg/PLIST.orig | 15 | ||||
| -rw-r--r-- | www/gatus/pkg/README | 9 | ||||
| -rw-r--r-- | www/gatus/pkg/gatus.rc | 12 |
5 files changed, 56 insertions, 0 deletions
diff --git a/www/gatus/pkg/DESCR b/www/gatus/pkg/DESCR new file mode 100644 index 0000000..e38edea --- /dev/null +++ b/www/gatus/pkg/DESCR @@ -0,0 +1,7 @@ +Gatus is a developer-oriented health dashboard that gives you the +ability to monitor your services using HTTP, ICMP, TCP, and even +DNS queries as well as evaluate the result of said queries by using +a list of conditions on values like the status code, the response +time, the certificate expiration, the body and many others. The +icing on top is that each of these health checks can be paired with +alerting via Slack, Teams, PagerDuty, Discord, Twilio and many more. diff --git a/www/gatus/pkg/PLIST b/www/gatus/pkg/PLIST new file mode 100644 index 0000000..00d0bea --- /dev/null +++ b/www/gatus/pkg/PLIST @@ -0,0 +1,13 @@ +@newgroup _gatus:1101 +@newuser _gatus:1101:_gatus::Gatus Account:/var/empty:/sbin/nologin +@rcscript ${RCDIR}/gatus +@bin sbin/gatus +share/doc/pkg-readmes/${PKGSTEM} +share/gatus/ +share/gatus/gatus.yaml +@mode 750 +@owner _gatus +@group _gatus +@sample ${SYSCONFDIR}/gatus/ +@mode 640 +@sample ${SYSCONFDIR}/gatus/gatus.yaml diff --git a/www/gatus/pkg/PLIST.orig b/www/gatus/pkg/PLIST.orig new file mode 100644 index 0000000..14610d4 --- /dev/null +++ b/www/gatus/pkg/PLIST.orig @@ -0,0 +1,15 @@ +@newgroup _gatus:1101 +@newuser _gatus:1101:_gatus::Gatus Account:/var/empty:/sbin/nologin +@rcscript ${RCDIR}/gatus +@bin sbin/gatus +share/doc/pkg-readmes/${PKGSTEM} +share/gatus/ +share/gatus/gatus.yaml +@owner _gatus +@group _gatus +@mode 750 +@sample ${SYSCONFDIR}/gatus/ +@owner _gatus +@group _gatus +@mode 640 +@sample ${SYSCONFDIR}/gatus/gatus.yaml diff --git a/www/gatus/pkg/README b/www/gatus/pkg/README new file mode 100644 index 0000000..f8ce48c --- /dev/null +++ b/www/gatus/pkg/README @@ -0,0 +1,9 @@ ++------------------------------------------------------------------------------- +| Running ${PKGSTEM} on OpenBSD ++------------------------------------------------------------------------------- + +By default gatus reads a config file from ${SYSCONFDIR}/gatus/gatus.yaml. +This file is provided as an example, so one need to tweak it to their own needs. + +See https://github.com/TwiN/gatus#configuration for detailed description on how +to structure a usable configuration file. diff --git a/www/gatus/pkg/gatus.rc b/www/gatus/pkg/gatus.rc new file mode 100644 index 0000000..93eedbc --- /dev/null +++ b/www/gatus/pkg/gatus.rc @@ -0,0 +1,12 @@ +#!/bin/ksh + +daemon="${TRUEPREFIX}/sbin/gatus" +daemon_user="_gatus" +daemon_logger="daemon.info" + +. /etc/rc.d/rc.subr + +rc_bg=YES +rc_reload=NO + +rc_cmd $1 |
