feat: Enable /run/gatus.socket socket instead of default port

This commit is contained in:
selfhoster selfhoster 2026-07-11 10:04:12 +02:00
commit 7d95385b25
4 changed files with 8 additions and 4 deletions

View file

@ -1,10 +1,10 @@
name: Release
env:
PKG_VERSION: "2026.07.10-1"
PKG_VERSION: "2026.07.11-1"
# TODO: actions/checkout only supports GITHUB repos...
GATUS_REPO: "selfhoster1312/gatus"
GATUS_REF: "fork"
GATUS_REF: "57f48b67f7386cd02b2269d51dc0606a4bc681ae"
# Preview mode: Publishes the build output as a CI artifact instead of creating
# a release, allowing for manual inspection of the output. This mode is
# activated if the CI run was triggered by events other than pushed tags, or

View file

@ -1,3 +1,6 @@
adduser --group --system gatus
mkdir -p /var/lib/gatus
chown -R gatus: /var/lib/gatus
chown -R gatus: /var/lib/gatus
mkdir -p /var/run/gatus
chown -R gatus: /var/run/gatus
systemctl daemon-reload

1
debian/gatus/DEBIAN/postremove vendored Executable file
View file

@ -0,0 +1 @@
systemctl daemon-reload

View file

@ -1,6 +1,6 @@
use-privileged-ping: true
web:
port: 8081
socket: /var/run/gatus/gatus.sock
storage:
type: "sqlite"
path: "/var/lib/gatus/gatus.sqlite"