Add makefile and openrc init

This commit is contained in:
Dakota Walsh 2026-01-20 10:27:56 +13:00
parent 31f27c5092
commit 273d02f4e1
3 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#!/sbin/openrc-run
supervisor=supervise-daemon
name="donation-notifications"
description="Listen for donations from paypal and stripe"
command=${command:-/usr/bin/donation-notifications}
command_background=true
command_user="donation-notifications:donation-notifications"
pidfile="/run/${RC_SVCNAME}.pid"
output_log="/var/log/donation-notifications/output.log"
error_log="/var/log/donation-notifications/output.err"
depend() {
need net
use dns logger netmount
}