mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-20 20:24:33 +02:00
parent
56364eca8e
commit
51d86fa6d9
@ -7,8 +7,10 @@
|
|||||||
notifempty
|
notifempty
|
||||||
create 644 @ICINGA2_USER@ @ICINGA2_GROUP@
|
create 644 @ICINGA2_USER@ @ICINGA2_GROUP@
|
||||||
postrotate
|
postrotate
|
||||||
if ! kill -l USR1 `cat @ICINGA2_RUNDIR@/icinga2/icinga2.pid`; then
|
if service icinga2 status > /dev/null; then
|
||||||
exit 1
|
if [ -e @ICINGA2_RUNDIR@/icinga2/icinga2.pid ]; then
|
||||||
|
kill -USR1 $(cat @ICINGA2_RUNDIR@/icinga2/icinga2.pid)
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user