alpine-caddy: remove commands, listen on 8080 for now?

This commit is contained in:
cobaltgit 2025-09-18 18:06:54 +01:00
parent d1de605194
commit a17c64f39d
No known key found for this signature in database
GPG Key ID: 699CFDA808E52696

View File

@ -14,9 +14,7 @@ network_check
update_os
msg_info "Installing ntfy"
$STD apk add --no-cache ntfy ntfy-openrc libcap
sed -i '/^listen-http/s/^\(.*\)$/#\1\n/' /etc/ntfy/server.yml # listen on port 80
setcap 'cap_net_bind_service=+ep' /usr/bin/ntfy # work around permission denied error when binding to :80
$STD apk add --no-cache ntfy ntfy-openrc
$STD rc-update add ntfy default
$STD service ntfy start
msg_ok "Installed ntfy"