-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nerius Landys wrote: > I'm running some programs using the /etc/rc.d/ and > /usr/local/etc/rc.d/ startup scripts. I am wondering if there is some > standard way to run these programs at a higher nice value.
Hi Nerius, Check out the list of variables in /etc/rc.subr. This should help you: # ${name}_nice n Nice level to run ${command} at. That means you can write this in your /etc/rc.conf file: apache22_enable="YES" apache22_nice="10" Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLULjv0sRouByUApARAv7zAJ4tbzuO/iixDQ4uXuko3eZV3vd3vQCgxS6A +iD7qTmAyK5Dff6WWSihtY4= =o29l -----END PGP SIGNATURE----- _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"