feat: Enable /run/gatus.socket socket instead of default port
This commit is contained in:
parent
bd115a04bf
commit
7d95385b25
4 changed files with 8 additions and 4 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -1,10 +1,10 @@
|
||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PKG_VERSION: "2026.07.10-1"
|
PKG_VERSION: "2026.07.11-1"
|
||||||
# TODO: actions/checkout only supports GITHUB repos...
|
# TODO: actions/checkout only supports GITHUB repos...
|
||||||
GATUS_REPO: "selfhoster1312/gatus"
|
GATUS_REPO: "selfhoster1312/gatus"
|
||||||
GATUS_REF: "fork"
|
GATUS_REF: "57f48b67f7386cd02b2269d51dc0606a4bc681ae"
|
||||||
# Preview mode: Publishes the build output as a CI artifact instead of creating
|
# 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
|
# 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
|
# activated if the CI run was triggered by events other than pushed tags, or
|
||||||
|
|
|
||||||
5
debian/gatus/DEBIAN/postinst
vendored
5
debian/gatus/DEBIAN/postinst
vendored
|
|
@ -1,3 +1,6 @@
|
||||||
adduser --group --system gatus
|
adduser --group --system gatus
|
||||||
mkdir -p /var/lib/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
1
debian/gatus/DEBIAN/postremove
vendored
Executable file
|
|
@ -0,0 +1 @@
|
||||||
|
systemctl daemon-reload
|
||||||
2
debian/gatus/etc/gatus/gatus.yaml
vendored
2
debian/gatus/etc/gatus/gatus.yaml
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
use-privileged-ping: true
|
use-privileged-ping: true
|
||||||
web:
|
web:
|
||||||
port: 8081
|
socket: /var/run/gatus/gatus.sock
|
||||||
storage:
|
storage:
|
||||||
type: "sqlite"
|
type: "sqlite"
|
||||||
path: "/var/lib/gatus/gatus.sqlite"
|
path: "/var/lib/gatus/gatus.sqlite"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue