Command to reload the configuration file without restarting the server

Source: Internet
Author: User

In the configuration of FreeBSD server, sometimes a letter in the configuration file is required to restart the server, which is a little troublesome. Recently, some commands have been found to make the new configuration file take effect without restarting the server, only three items are found. Please try again later.

1. IPFILTER
Command:/sbin/ipf-Fa-f/etc/ipf. conf // ipf. conf is the configuration file of ipf, depending on your situation

2. IPNAT
Command:/sbin/ipnat-CF-f/etc/ipnat. conf // ipnat. conf is the configuration file of ipnat, depending on your situation

3. Squid
Command:/usr/local/squid/sbin/squid-k reconfigure

4. Reload rc. conf.
Command:
First:
# Cd/etc
# Sh rc
Second:
#/Etc/netstart

5. Reload inetd (super server)

#/Etc/rc. d/inetd reload

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.