Starting ulogd with dinit
I don't know if I'm starting ulogd properly. I have tried two ways: as a bgprocess, and as a regular process
I used this service file for the bgprocess
# /etc/dinit.d/ulogd
type = bgprocess
command = /usr/bin/ulogd -d
smooth-recovery = true
logfile = /var/log/dinit/ulogd.log
after = network
pid-file = /etc/dinit.d/ulogd.pid
or I used this service file for the regular process
# /etc/dinit.d/ulogd
type = process
command = /usr/bin/ulogd
smooth-recovery = true
logfile = /var/log/dinit/ulogd.log
after = network
In both cases ulogd starts after system startup but its process State is S (sleeping) and /var/log/dinit/ulogd.log has 0 bytes. If I use the service description file with ulogd as bgprocess it does *not* create the pidfile /etc/dinit.d/ulogd.pid, I wonder why.
I any case, I'm not sure which way it is supposed to be run. In both cases the /var/log/dinit/ulogd.log is empty (I guess that means there were no errors with starting it), and ulogd writes its regular logs to /var/log/ulogd.log