feat: Use privileged ping
This commit is contained in:
parent
e2023b4230
commit
ba0578d3e4
3 changed files with 4 additions and 3 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PKG_VERSION: "2025.07.09-1"
|
PKG_VERSION: "2026.07.09-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: "fork"
|
||||||
|
|
|
||||||
1
debian/gatus/etc/gatus/gatus.yaml
vendored
1
debian/gatus/etc/gatus/gatus.yaml
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
|
use-privileged-ping: true
|
||||||
web:
|
web:
|
||||||
port: 8081
|
port: 8081
|
||||||
storage:
|
storage:
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ After=network.target network-online.target
|
||||||
Requires=network-online.target
|
Requires=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
Type=exec
|
||||||
User=gatus
|
User=gatus
|
||||||
Group=gatus
|
Group=gatus
|
||||||
Environment=GATUS_CONFIG_PATH=/etc/gatus/gatus.yaml
|
Environment=GATUS_CONFIG_PATH=/etc/gatus/gatus.yaml
|
||||||
|
|
@ -14,7 +14,7 @@ TimeoutStopSec=5s
|
||||||
LimitNOFILE=1048576
|
LimitNOFILE=1048576
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
AmbientCapabilities=CAP_NET_RAW
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue