Make it work with NetBSD's init framework
rneswold opened this issue · comments
Although most of the work is done, there's a couple of details that need to be taken care of in order for this service to start automatically after a reboot.
- Verify it changes to the
drmem
account (19d2dd3) - Verify it creates the PID file
- Make it change to the real-time scheduler. This needs to be done while it's still running as
root
. - Update
/etc/rc.conf
so it gets started.
Having problems with the PID file, although I believe the code is right. It's my system that needs some tweaking. It's running on a RaspberryPi, whose file system is mounted real-only (to reduce wear cycles on the SD Card.) I have portions of /var
mounted with ramdisks using the union
option. This set-up doesn't work quite like I thought so it needs a little work.
Switching to real-time is a challenge since there aren't any examples of NetBSD's init
framework using it.