Skip to content

Commit 6761e83

Browse files
committed
bug fix: compressArchive
1 parent 0abcc8e commit 6761e83

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

plogical/vhostConfs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,8 @@ class vhostConfs:
325325
logFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
326326
logHeaders 5
327327
rollingSize 10M
328-
keepDays 10 compressArchive 1
328+
keepDays 10
329+
compressArchive 1
329330
}
330331
331332
rewrite {

plogical/virtualHostUtilities.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,6 @@ def createVirtualHost(virtualHostName, administratorEmail, phpVersion, virtualHo
250250
if dkimCheck == 1:
251251
DNS.createDKIMRecords(virtualHostName)
252252

253-
# cageFSPath = '/home/cyberpanel/cagefs'
254-
#
255-
# if os.path.exists(cageFSPath):
256-
# command = '/usr/sbin/cagefsctl --enable %s' % (virtualHostUser)
257-
# ProcessUtilities.normalExecutioner(command)
258-
259-
260253
CLPath = '/etc/sysconfig/cloudlinux'
261254

262255
if os.path.exists(CLPath):

0 commit comments

Comments
 (0)