do not restore as well

This commit is contained in:
Wei Zhou 2026-05-29 10:59:47 +02:00
parent 8475804ae3
commit e3a7ae38a0
No known key found for this signature in database
GPG Key ID: 1503DFE7C8226103
1 changed files with 4 additions and 0 deletions

View File

@ -547,6 +547,8 @@ class securityPolicyConfigUbuntu(serviceCfgBase):
or you can manually disable it before starting myCloud")
def restore(self):
return True
try:
self.syscfg.svo.enableService("apparmor")
self.syscfg.svo.startService("apparmor")
@ -581,6 +583,8 @@ class securityPolicyConfigRedhat(serviceCfgBase):
return True
def restore(self):
return True
try:
bash("setenforce 1")
return True