mirror of
				https://github.com/nextepc/nextepc-oss.git
				synced 2025-11-03 21:33:14 +00:00 
			
		
		
		
	update logrotate and newsyslog following previous modification
This commit is contained in:
		@@ -474,8 +474,11 @@ AC_CONFIG_FILES([support/systemd/nextepc-sgwd.service])
 | 
			
		||||
AC_CONFIG_FILES([support/systemd/nextepc-pgwd.service])
 | 
			
		||||
AC_CONFIG_FILES([support/systemd/nextepc-hssd.service])
 | 
			
		||||
AC_CONFIG_FILES([support/systemd/nextepc-pcrfd.service])
 | 
			
		||||
AC_CONFIG_FILES([support/systemd/Makefile])
 | 
			
		||||
AC_CONFIG_FILES([support/logrotate/nextepc])
 | 
			
		||||
AC_CONFIG_FILES([support/logrotate/Makefile])
 | 
			
		||||
AC_CONFIG_FILES([support/newsyslog/nextepc.conf])
 | 
			
		||||
AC_CONFIG_FILES([support/newsyslog/Makefile])
 | 
			
		||||
AC_CONFIG_FILES([support/Makefile])
 | 
			
		||||
AC_CONFIG_FILES([test/Makefile])
 | 
			
		||||
AC_CONFIG_FILES([Makefile])
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
## Process this file with automake to produce Makefile.in
 | 
			
		||||
 | 
			
		||||
SUBDIRS = config freeDiameter
 | 
			
		||||
SUBDIRS = config freeDiameter systemd logrotate newsyslog
 | 
			
		||||
 | 
			
		||||
MAINTAINERCLEANFILES = Makefile.in 
 | 
			
		||||
MOSTLYCLEANFILES = *.stackdump
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								support/logrotate/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								support/logrotate/Makefile.am
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
EXTRA_DIST = nextepc.in
 | 
			
		||||
 | 
			
		||||
MAINTAINERCLEANFILES = Makefile.in 
 | 
			
		||||
MOSTLYCLEANFILES = *.stackdump
 | 
			
		||||
@@ -8,8 +8,8 @@
 | 
			
		||||
 | 
			
		||||
    postrotate
 | 
			
		||||
        for i in pcrfd pgwd sgwd hssd mmed epcd; do
 | 
			
		||||
            if [ -e @LOCALSTATE_DIR@/run/nextepc/$i.pid ] ; then
 | 
			
		||||
                kill -HUP `cat @LOCALSTATE_DIR@/run/nextepc/$i.pid`
 | 
			
		||||
            if [ -e @LOCALSTATE_DIR@/run/nextepc-$i/pid ] ; then
 | 
			
		||||
                kill -HUP `cat @LOCALSTATE_DIR@/run/nextepc-$i/pid`
 | 
			
		||||
            fi
 | 
			
		||||
        done
 | 
			
		||||
    endscript
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								support/newsyslog/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								support/newsyslog/Makefile.am
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
EXTRA_DIST = nextepc.conf.in
 | 
			
		||||
 | 
			
		||||
MAINTAINERCLEANFILES = Makefile.in 
 | 
			
		||||
MOSTLYCLEANFILES = *.stackdump
 | 
			
		||||
@@ -1,9 +1,9 @@
 | 
			
		||||
# truncate rails logs every day at midnight, keep 14 previous logs, compress previous logs
 | 
			
		||||
#
 | 
			
		||||
# logfilename                         [owner:group] mode count size  when  flags [/pid_file]        [sig_num]
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/pcrfd.log              644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc/pcrfd.pid`
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/pgwd.log               644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc/pcrfd.pid`
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/sgwd.log               644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc/sgwd.pid`
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/hssd.log               644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc/hssd.pid`
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/mmed.log               644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc/mmed.pid`
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/nextepc.log            644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc/epcd.pid`
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/pcrf.log              644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc-pcrfd/pid`
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/pgw.log               644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc-pgwd/pid`
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/sgw.log               644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc-sgwd/pid`
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/hss.log               644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc-hssd/pid`
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/mme.log               644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc-mmed/pid`
 | 
			
		||||
@LOCALSTATE_DIR@/log/nextepc/nextepc.log           644  14    *     $D0   GZ    @LOCALSTATE_DIR@/run/nextepc-epcd/pid`
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								support/systemd/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								support/systemd/Makefile.am
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
EXTRA_DIST = \
 | 
			
		||||
	nextepc-mmed.service.in \
 | 
			
		||||
	nextepc-pgwd.service.in \
 | 
			
		||||
	nextepc-hssd.service.in \
 | 
			
		||||
	nextepc-pcrfd.service.in \
 | 
			
		||||
	nextepc-sgwd.service.in \
 | 
			
		||||
	$(NULL)
 | 
			
		||||
 | 
			
		||||
MAINTAINERCLEANFILES = Makefile.in 
 | 
			
		||||
MOSTLYCLEANFILES = *.stackdump
 | 
			
		||||
		Reference in New Issue
	
	Block a user