mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
logging folder in lower case for better consistency
This commit is contained in:
committed by
Dan Christian Bogos
parent
2dd7202f39
commit
2fca1f3476
@@ -1,4 +1,4 @@
|
||||
/var/log/CGRateS/CGRateS.log {
|
||||
/var/log/cgrates/CGRateS.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 31
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
if $programname startswith "CGRateS" or $programname startswith "cgr-engine" then /var/log/CGRateS/CGRateS.log
|
||||
if $programname startswith "CGRateS" or $programname startswith "cgr-engine" then /var/log/cgrates/CGRateS.log
|
||||
& stop
|
||||
|
||||
@@ -33,8 +33,8 @@ binary-arch: clean
|
||||
cp -r $(CURDIR)/data/conf/cgrates $(PKGDIR)/etc/
|
||||
mkdir -p $(PKGDIR)/etc/logrotate.d
|
||||
mkdir -p $(PKGDIR)/etc/rsyslog.d
|
||||
cp -r $(CURDIR)/data/conf/logging/deb_logrotate.conf $(PKGDIR)/etc/logrotate.d/CGRateS
|
||||
cp -r $(CURDIR)/data/conf/logging/deb_rsyslog.conf $(PKGDIR)/etc/rsyslog.d/25-CGRateS.conf
|
||||
cp -r $(CURDIR)/data/conf/logging/deb_logrotate.conf $(PKGDIR)/etc/logrotate.d/cgrates
|
||||
cp -r $(CURDIR)/data/conf/logging/deb_rsyslog.conf $(PKGDIR)/etc/rsyslog.d/25-cgrates.conf
|
||||
mkdir -p $(PKGDIR)/usr/share/cgrates
|
||||
cp -r $(CURDIR)/data/* $(PKGDIR)/usr/share/cgrates/
|
||||
tar -xzvf $(PKGDIR)/usr/share/cgrates/tutorials/fs_evsock/freeswitch/etc/freeswitch_conf.tar.gz -C $(PKGDIR)/usr/share/cgrates/tutorials/fs_evsock/freeswitch/etc/
|
||||
@@ -47,7 +47,7 @@ binary-arch: clean
|
||||
mkdir -p $(PKGDIR)/var/spool/cgrates/failed_posts
|
||||
mkdir -p $(PKGDIR)/var/lib/cgrates/history
|
||||
mkdir -p $(PKGDIR)/var/lib/cgrates/cache_dump
|
||||
mkdir -p $(PKGDIR)/var/log/CGRateS
|
||||
mkdir -p $(PKGDIR)/var/log/cgrates
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
|
||||
@@ -32,8 +32,8 @@ binary-arch: clean
|
||||
cp -r $(CURDIR)/data/conf/cgrates $(PKGDIR)/etc/
|
||||
mkdir -p $(PKGDIR)/etc/logrotate.d
|
||||
mkdir -p $(PKGDIR)/etc/rsyslog.d
|
||||
cp -r $(CURDIR)/data/conf/logging/deb_logrotate.conf $(PKGDIR)/etc/logrotate.d/CGRateS
|
||||
cp -r $(CURDIR)/data/conf/logging/deb_rsyslog.conf $(PKGDIR)/etc/rsyslog.d/25-CGRateS.conf
|
||||
cp -r $(CURDIR)/data/conf/logging/deb_logrotate.conf $(PKGDIR)/etc/logrotate.d/cgrates
|
||||
cp -r $(CURDIR)/data/conf/logging/deb_rsyslog.conf $(PKGDIR)/etc/rsyslog.d/25-cgrates.conf
|
||||
mkdir -p $(PKGDIR)/usr/share/cgrates
|
||||
cp -r $(CURDIR)/data/* $(PKGDIR)/usr/share/cgrates/
|
||||
tar -xzvf $(PKGDIR)/usr/share/cgrates/tutorials/fs_evsock/freeswitch/etc/freeswitch_conf.tar.gz -C $(PKGDIR)/usr/share/cgrates/tutorials/fs_evsock/freeswitch/etc/
|
||||
@@ -46,7 +46,7 @@ binary-arch: clean
|
||||
mkdir -p $(PKGDIR)/var/spool/cgrates/failed_posts
|
||||
mkdir -p $(PKGDIR)/var/lib/cgrates/history
|
||||
mkdir -p $(PKGDIR)/var/lib/cgrates/cache_dump
|
||||
mkdir -p $(PKGDIR)/var/log/CGRateS
|
||||
mkdir -p $(PKGDIR)/var/log/cgrates
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
|
||||
Reference in New Issue
Block a user