logging folder in lower case for better consistency

This commit is contained in:
Anthony Somerset
2019-04-04 14:34:39 +02:00
committed by Dan Christian Bogos
parent 2dd7202f39
commit 2fca1f3476
4 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
/var/log/CGRateS/CGRateS.log {
/var/log/cgrates/CGRateS.log {
daily
missingok
rotate 31

View File

@@ -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

View File

@@ -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

View File

@@ -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