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
5
debian/gatus/DEBIAN/postinst
vendored
5
debian/gatus/DEBIAN/postinst
vendored
|
|
@ -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
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
|
||||
web:
|
||||
port: 8081
|
||||
socket: /var/run/gatus/gatus.sock
|
||||
storage:
|
||||
type: "sqlite"
|
||||
path: "/var/lib/gatus/gatus.sqlite"
|
||||
|
|
|
|||
Loading…
Reference in a new issue