Kill command "-1" This parameter is the killing process or reload?

Source: Internet
Author: User

Kill
-1: A configuration file that reads the parameters again (similar to reload)


This sentence gives me the feeling is to kill the process after the restart process, that is, reload. And I checked the man kill,-1 the corresponding signal is SIGHUP, with a
Find/-perm +7000 >/dev/null 2>&1 &
The order test is actually the killing process, bird brother said the reverse?

    • SIGHUP -hangup or exit a foreground running process from a terminal


Reason:
The daemon is a re-read configuration, which kills the normal process.

HUP signal can be intercepted, you can do anything after interception
The general daemon will reload the configuration when this signal is received.
This is a habit, because SIGHUP original meaning to the trustworthiness process has no meaning (SIGHUP is when the control terminal loses the connection to trigger the signal, and the daemon does not control the terminal, so it does not use).

http://segmentfault.com/q/1010000002537875

Kill command "-1" This parameter is the killing process or reload? (EXT)

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.