weizhouapache commented on PR #7587:
URL: https://github.com/apache/cloudstack/pull/7587#issuecomment-1598273582
@vdombrovski
I did some testing but could not reproduce the issue.
I confirmed the old command does not work and verified the new command works.
```
root@r-13-VM:~# /bin/kill -HUP `cat /var/run/rsyslog.pid 2> /dev/null`
Usage:
kill [options] <pid> [...]
Options:
<pid> [...] send signal to every <pid> listed
-<signal>, -s, --signal <signal>
specify the <signal> to be sent
-q, --queue <value> integer value to be sent with the signal
-l, --list=[<signal>] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table
-h, --help display this help and exit
-V, --version output version information and exit
For more details see kill(1).
root@r-13-VM:~#
root@r-13-VM:~# ls /var/run/rsyslog.pid
ls: cannot access '/var/run/rsyslog.pid': No such file or directory
root@r-9061-VM:~# /usr/lib/rsyslog/rsyslog-rotate
```
since I have faced same issue before and fixed the issue by same command, I
believe this should work.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]