Skip to content
Snippets Groups Projects
Commit 651194fe authored by Srinivas Rao Puttagunta's avatar Srinivas Rao Puttagunta
Browse files

ldap: working on rsyslog restart

parent bdd89788
No related branches found
No related tags found
No related merge requests found
......@@ -30,8 +30,13 @@ set archive = /afs/ir/service/directory/logs/%Y/%M/%d/%m.%n
-%>
syslog {
<% if @lsbdistcodename == 'stretch' -%>
restart: hup /var/run/rsyslogd.pid
log: ldap logdir root 0 644
<% else -%>
restart: run /usr/sbin/rsyslog-restart
log: ldap logdir root 0 644
<% end -%>
<%-
if (@rotate_logs_into_afs) then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment