bug fix: compressArchive

This commit is contained in:
Usman Nasir
2020-07-21 14:21:58 +05:00
parent 0abcc8ebeb
commit 6761e83c0e
2 changed files with 2 additions and 8 deletions

View File

@@ -325,7 +325,8 @@ accesslog $VH_ROOT/logs/$VH_NAME.access_log {
logFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" logFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
logHeaders 5 logHeaders 5
rollingSize 10M rollingSize 10M
keepDays 10 compressArchive 1 keepDays 10
compressArchive 1
} }
rewrite { rewrite {

View File

@@ -250,13 +250,6 @@ class virtualHostUtilities:
if dkimCheck == 1: if dkimCheck == 1:
DNS.createDKIMRecords(virtualHostName) DNS.createDKIMRecords(virtualHostName)
# cageFSPath = '/home/cyberpanel/cagefs'
#
# if os.path.exists(cageFSPath):
# command = '/usr/sbin/cagefsctl --enable %s' % (virtualHostUser)
# ProcessUtilities.normalExecutioner(command)
CLPath = '/etc/sysconfig/cloudlinux' CLPath = '/etc/sysconfig/cloudlinux'
if os.path.exists(CLPath): if os.path.exists(CLPath):