Restart the script in newsyslog.conf

The script can not be restarted by the signal. It can only be restarted from /etc/rc.d/myskript restart. How do I set up a restart script after log rotation?
 
Last edited by a moderator:
From newsyslog.conf(5):
Code:
             R       if this flag is set the newsyslog(8) will run shell com-
                     mand defined in path_to_pid_cmd_file after rotation
                     instead of trying to send signal to a process id stored
                     in the file.
 
Back
Top