Add makefile and openrc init
This commit is contained in:
parent
31f27c5092
commit
273d02f4e1
3 changed files with 62 additions and 0 deletions
18
extras/openrc/donation-notification
Normal file
18
extras/openrc/donation-notification
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue