On 8/28/10 9:28 AM, Goran Sandin wrote: > > It is munin-common-1.4.3_2 and I'm using FreeBSD 7.3 > > So far it doesn't survive a reboot. > > There is a config file where a location for pid-file is stated. If I change > the default directory for this pid-file, the program doesn't start properly. > > /var/run/munin must exist when munin-node is started. If it doesn't exist, the > pid-file can not be created and the program start-up exits. > > Is there a way to re-create /var/run/munin when nanobsd start? >
I'm not sure if there's a "better" way to go, but in cases like this I tend to add an entry to the rc script, since NanoBSD's /var is going to be re-populated on each boot. For example, adding something like to /usr/local/etc/rc.d/munin: [ ! -d /var/run/munin ] && mkdir /var/run/munin If someone has a more correct way, I'd be happy to hear about it and add it to my Nano build scripts. ;-) HTH, Mike. _______________________________________________ Soekris-tech mailing list [email protected] http://lists.soekris.com/mailman/listinfo/soekris-tech
