Mention OpenBSD support, add example init script.

This commit is contained in:
Solderpunk 2020-07-12 16:28:41 +02:00
parent 2e510328ef
commit 62b22a9471
2 changed files with 23 additions and 1 deletions

View File

@ -48,8 +48,9 @@ The follow features are planned for the future:
Molly Brown is known to run on:
* GNU/Linux
* FreeBSD
* GNU/Linux
* OpenBSD
* 9Front
Please let us know if you get it to work on some other platform!
@ -140,6 +141,14 @@ directory of the Molly Brown source directory.
More detailed instructions on OpenRC setup are welcome!
#### OpenBSD
An example OpenBSD initscript for Molly Brown, named
`molly-brown.openbsd.example`, can be found in the `contrib/init`
directory of the Molly Brown source directory.
More detailed instructions on OpenBSD setup are welcome!
## Configuration Options
The following sections detail all the options which can be set in

View File

@ -0,0 +1,13 @@
#!/bin/ksh
daemon='/usr/sbin/molly-brown -c /etc/molly/molly.conf &'
. /etc/rc.d/rc.subr
rc_reload=NO
rc_stop() {
pkill molly-brown
}
rc_cmd $1