From 7d95385b2583884dc9157a9439e7fca970157d91 Mon Sep 17 00:00:00 2001 From: selfhoster1312 Date: Sat, 11 Jul 2026 10:04:12 +0200 Subject: [PATCH] feat: Enable /run/gatus.socket socket instead of default port --- .github/workflows/release.yml | 4 ++-- debian/gatus/DEBIAN/postinst | 5 ++++- debian/gatus/DEBIAN/postremove | 1 + debian/gatus/etc/gatus/gatus.yaml | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) create mode 100755 debian/gatus/DEBIAN/postremove diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9901609..bd591c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/debian/gatus/DEBIAN/postinst b/debian/gatus/DEBIAN/postinst index 353a5f3..9a2c153 100755 --- a/debian/gatus/DEBIAN/postinst +++ b/debian/gatus/DEBIAN/postinst @@ -1,3 +1,6 @@ adduser --group --system gatus mkdir -p /var/lib/gatus -chown -R gatus: /var/lib/gatus \ No newline at end of file +chown -R gatus: /var/lib/gatus +mkdir -p /var/run/gatus +chown -R gatus: /var/run/gatus +systemctl daemon-reload \ No newline at end of file diff --git a/debian/gatus/DEBIAN/postremove b/debian/gatus/DEBIAN/postremove new file mode 100755 index 0000000..9b76642 --- /dev/null +++ b/debian/gatus/DEBIAN/postremove @@ -0,0 +1 @@ +systemctl daemon-reload diff --git a/debian/gatus/etc/gatus/gatus.yaml b/debian/gatus/etc/gatus/gatus.yaml index ff21b29..893de25 100644 --- a/debian/gatus/etc/gatus/gatus.yaml +++ b/debian/gatus/etc/gatus/gatus.yaml @@ -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"