aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-24 05:21:56 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-24 05:21:56 +0000
commite474394dfbe9adfadc6673b9bde871957e73f61f (patch)
treebedb14b883c1150131ce50975c1318b1697c2aa0 /contrib
parent0e16542a03e25cb205169cdeb7c6b354879be5cc (diff)
Merged revisions 133400 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r133400 | tilghman | 2008-07-24 00:21:00 -0500 (Thu, 24 Jul 2008) | 3 lines Build the logrotate script according to paths (Closes issue #13147) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@133405 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
-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
+}