Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
linux:syslog [2014/01/02 12:09] tmadelinux:syslog [2014/01/02 12:18] – [Syslog] tmade
Line 87: Line 87:
         postrotate                                                                                                               #execute command after rotation         postrotate                                                                                                               #execute command after rotation
                 test ! -f /usr/local/nginx/sbin/nginx.pid || kill -USR1 `cat /usr/local/nginx/sbin/nginx.pid`                 test ! -f /usr/local/nginx/sbin/nginx.pid || kill -USR1 `cat /usr/local/nginx/sbin/nginx.pid`
 +                #killall -USR1 nginx
         endscript                                                                                                                #required after postrotate/ command         endscript                                                                                                                #required after postrotate/ command
         create 644 root root                                                                                                     #rotates files with 644 permission and owner/group as "root"         create 644 root root                                                                                                     #rotates files with 644 permission and owner/group as "root"
linux/syslog.txt · Last modified: 2018/03/20 18:11 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki