diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-07-24 05:21:00 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-07-24 05:21:00 +0000 |
commit | 46db155e92868243e15cf927f8392380d8814782 (patch) | |
tree | 5cc55f8f21a29fae700aaf3f72481c7f7bdd8c2e /contrib | |
parent | b733aa5b4cfa6906174d1d423799cf6a87d582ef (diff) |
Build the logrotate script according to paths
(Closes issue #13147)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@133400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/scripts/asterisk.logrotate | 6 |
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 +} |