aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/scripts/asterisk.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/scripts/asterisk.logrotate')
-rw-r--r--contrib/scripts/asterisk.logrotate6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/scripts/asterisk.logrotate b/contrib/scripts/asterisk.logrotate
index f83257060..92e6548e7 100644
--- a/contrib/scripts/asterisk.logrotate
+++ b/contrib/scripts/asterisk.logrotate
@@ -1,4 +1,4 @@
-/var/log/asterisk/debug /var/log/asterisk/console /var/log/asterisk/full /var/log/asterisk/debug /var/log/asterisk/*log {
+__LOGDIR__/debug __LOGDIR__/console __LOGDIR__/full __LOGDIR__/messages __LOGDIR__/*log {
weekly
missingok
rotate 52
@@ -8,6 +8,6 @@
create 640 root root
sharedscripts
postrotate
- /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
+ __SBINDIR__/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
endscript
-} \ No newline at end of file
+}