openbsd-ports/net/ntfy/pkg/ntfy.rc
martin 719037b14e Import ntfy, help and OK op@, OK sthen@
ntfy (pronounce: notify) is a simple HTTP-based pub-sub notification service.
It allows you to send notifications to your phone or desktop via scripts from
any computer, entirely without signup or cost.
2023-01-09 12:19:53 +00:00

14 lines
189 B
Bash

#!/bin/ksh
daemon="${TRUEPREFIX}/bin/ntfy"
daemon_logger="daemon.info"
daemon_user="_ntfy"
daemon_flags="serve --listen-http :8080"
. /etc/rc.d/rc.subr
rc_bg=YES
rc_reload=NO
rc_cmd $1