Cool “OLD” Way to Restart RSyslog – Fedora 11

#kill -HUP `cat /var/run/syslogd.pid`

Its the same as

#service rsyslog restart

But in a different way

There are another signals, each one can be represented by a number, here is a small list of signals available:

  • HUP = 1
  • KILL = 9
  • TERM = 15

I realized that it did not change the PID of the process and I got an interesting comment about that saying that rsyslog v5 does not support HUP anymore.

sangoku

Advertisements

One Response to “Cool “OLD” Way to Restart RSyslog – Fedora 11”

  1. Rainer Gerhards Says:

    Hi,

    please note that using HUP for restart is deprecated and has a number of drawbacks. Please see here:

    http://www.rsyslog.com/doc-v4compatibility.html

    Rsyslog v5 does no longer support that mode.

    Rainer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: