mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #162] Build for FreeBSD / OpenBSD #131
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#131
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @binwiederhier on GitHub (Mar 13, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/162
@powellc commented on GitHub (Mar 14, 2022):
Haha! I just rolled in here looking for this. Universe, what are the odds?! Let me know if you need any help setting this up or testing. Excited to get a pre-built binary.
For what it's worth, just doing a
go install heckel.io/ntfy@lateston FreeBSD 13.0 results in:go/pkg/mod/heckel.io/ntfy@v1.17.1/server/server.go:85:13: pattern docs: no matching files foundI'm not go expert, but I'm working my way through the cause at the moment.
@binwiederhier commented on GitHub (Mar 14, 2022):
Yeah go install doesn't work because the docs and web UI need to be built. Join the discord and we can chat tmr or so
@binwiederhier commented on GitHub (Apr 9, 2022):
Zaraki commented with these instructions on Discord:
ntfy on OpenBSD
Packages
Building
Installing
For the UID pick one below 1000 not used by any other port.
Contents of
/etc/rc.d/ntfy(+x):nginx configuration excerpt:
Contents of
/etc/ntfy/server.yml:Then:
Improvements
It should be possible to specify the file mode of the Unix socket:
Right around here, it should either temporarily change process umask around socket creation, or chmod the socket afterwards.
Otherwise I need to manually chmod it to 770 after service has started (so nginx can connect, but nobody else).
Some tiny things that would make it easier to run as a daemon:
rc_bg)daemon_logger)