diff --git a/plogical/IncScheduler.py b/plogical/IncScheduler.py index c2c619f87..1bd4c365b 100644 --- a/plogical/IncScheduler.py +++ b/plogical/IncScheduler.py @@ -764,10 +764,10 @@ Automatic backup failed for %s on %s. if website.package.enforceDiskLimits: if config['DiskUsagePercentage'] >= 100: - command = 'chattr -R +i /home/%s' % (website.domain) + command = 'chattr -R +i /home/%s/public_html/' % (website.domain) ProcessUtilities.executioner(command) else: - command = 'chattr -R -i /home/%s' % (website.domain) + command = 'chattr -R -i /home/%s/public_html/' % (website.domain) ProcessUtilities.executioner(command) ## Calculate bw usage