chkconfig on FreeBSD to start services automatically initial boot time

by Vivek Gite · 0 comments

Q. How do I use chkconfig on FreeBSD to start services automatically?

A. You cannot use chkconfig on FreeBSD. It is RedHat/CentOS/Fedora Core only command. FreeBSD provides another facility called rc.conf. This file contains which services should be started up at system initial boot time. You can edit this file by hand using text editor or use sysinstall text based GUI tool to update this file.

Task: Start services automatically initial boot time

For example to start OpenSSH / SSHD services automatically initial boot time:
# vi /etc/rc.conf

Append following line:
sshd_enable="YES"

Save and close the file.

Task: Start services automatically initial boot time using sysinstall

Type the following command:
# sysinstall

See this article how to use sysinstall to start services.

Featured Articles:

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous FAQ:

Next FAQ:

nixCraft FAQ PDF Collection Now Available To All